From 1a9d6e023b1750ce118c55586abbb4b8c163e8e5 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 8 Sep 2004 14:49:15 +0000 Subject: [PATCH] Fix pjs-demo svn-id: r14964 --- scumm/scumm.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index d83c5fc47c3..60f461433b9 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(); }