mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 00:59:19 +02:00
merge, with tmj renderer
This commit is contained in:
@@ -223,7 +223,7 @@ void TEvent::Load(cParser *parser, vector3 *org)
|
||||
parser->getTokens(1, false); // case sensitive
|
||||
*parser >> token;
|
||||
// str = AnsiString(token.c_str());
|
||||
Params[0].asText = new char[token.length() + 1];
|
||||
Params[0].asText = new char[token.length() + 1]; // BUG: source of memory leak
|
||||
strcpy(Params[0].asText, token.c_str());
|
||||
if (token != "*") // czy ma zostać bez zmian?
|
||||
iFlags |= update_memstring;
|
||||
|
||||
Reference in New Issue
Block a user