mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
PARALLACTION: Fix for DoorData Memory Leak in Big Red Adventure.
svn-id: r55232
This commit is contained in:
parent
460f8c277b
commit
00d78dd3d5
@ -786,7 +786,7 @@ void LocationParser_br::parseDoorData(ZonePtr z) {
|
||||
_vm->_location._slideText[1] = _tokens[2];
|
||||
} else
|
||||
if (!scumm_stricmp(_tokens[0], "location")) {
|
||||
data->_doorLocation = strdup(_tokens[1]);
|
||||
data->_doorLocation = _tokens[1];
|
||||
} else
|
||||
if (!scumm_stricmp(_tokens[0], "file")) {
|
||||
GfxObj *obj = _vm->_gfx->loadDoor(_tokens[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user