diff options
author | James Brown | 2003-01-26 10:57:01 +0000 |
---|---|---|
committer | James Brown | 2003-01-26 10:57:01 +0000 |
commit | d1eb2636f4b17e261a886e93b2da6fbb5008eb0a (patch) | |
tree | 337955100e66e8e2578408d293899b51d187e9e0 /scumm/scummvm.cpp | |
parent | 8d9b84b98eb92abbf4d932d6c6e10a10e0fe576b (diff) | |
download | scummvm-rg350-d1eb2636f4b17e261a886e93b2da6fbb5008eb0a.tar.gz scummvm-rg350-d1eb2636f4b17e261a886e93b2da6fbb5008eb0a.tar.bz2 scummvm-rg350-d1eb2636f4b17e261a886e93b2da6fbb5008eb0a.zip |
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
Diffstat (limited to 'scumm/scummvm.cpp')
-rw-r--r-- | scumm/scummvm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 44e80f7c34..eb15759aec 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -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; |