Patch 671031: Fix for MI1 intro crash + others (move new object
clearing code into a more generic function, and call it earlier) svn-id: r6548
This commit is contained in:
parent
8d9b84b98e
commit
d1eb2636f4
3 changed files with 32 additions and 23 deletions
|
@ -652,6 +652,8 @@ void Scumm::startScene(int room, Actor * a, int objectNr)
|
|||
if (room != 0)
|
||||
ensureResourceLoaded(rtRoom, room);
|
||||
|
||||
clearRoomObjects();
|
||||
|
||||
if (_currentRoom == 0) {
|
||||
_ENCD_offs = _EXCD_offs = 0;
|
||||
_numObjectsInRoom = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue