diff options
Diffstat (limited to 'scumm')
| -rw-r--r-- | scumm/scumm.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index e3ec63feb8..914bb21d1b 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -2326,7 +2326,9 @@ void ScummEngine::startScene(int room, Actor *a, int objectNr) { stopCycle(0); _sound->processSoundQues(); - // Clear the room variables + for (i = 0; i < _WizNumPolygons; i++) + memset(&_WizPolygons[i], 0, sizeof(WizPolygon)); + for (i = 0; i < _numRoomVariables; i++) _roomVars[i] = 0; |
