diff options
-rw-r--r-- | scumm/scumm.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index d83c5fc47c..60f461433b 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -2299,6 +2299,10 @@ void ScummEngine::startScene(int room, Actor *a, int objectNr) { stopCycle(0); _sound->processSoundQues(); + // Clear the room variables + if (_heversion >= 80) + memset(_roomVars, 0, sizeof(_roomVars)); + for (i = 1; i < _numActors; i++) { _actors[i].hideActor(); } |