mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
Correct error in load code for PC version of Waxworks.
svn-id: r44206
This commit is contained in:
parent
ab6caf1df6
commit
5d79d748a4
@ -1265,10 +1265,10 @@ bool AGOSEngine_Elvira2::loadGame(const char *filename, bool restartMode) {
|
||||
Item *item = derefItem(itemNum);
|
||||
|
||||
num = (itemNum - _itemArrayInited);
|
||||
_roomStates[num].state = item->state;
|
||||
_roomStates[num].classFlags = item->classFlags;
|
||||
item->state = _roomStates[num].state;
|
||||
item->classFlags = _roomStates[num].classFlags;
|
||||
SubRoom *subRoom = (SubRoom *)findChildOfType(item, kRoomType);
|
||||
_roomStates[num].roomExitStates = subRoom->roomExitStates;
|
||||
subRoom->roomExitStates = _roomStates[num].roomExitStates;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user