aboutsummaryrefslogtreecommitdiff
path: root/scumm/scummvm.cpp
diff options
context:
space:
mode:
authorJames Brown2003-01-26 10:57:01 +0000
committerJames Brown2003-01-26 10:57:01 +0000
commitd1eb2636f4b17e261a886e93b2da6fbb5008eb0a (patch)
tree337955100e66e8e2578408d293899b51d187e9e0 /scumm/scummvm.cpp
parent8d9b84b98eb92abbf4d932d6c6e10a10e0fe576b (diff)
downloadscummvm-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.cpp2
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;