diff options
author | Travis Howell | 2004-09-14 11:35:15 +0000 |
---|---|---|
committer | Travis Howell | 2004-09-14 11:35:15 +0000 |
commit | c97d5297870526f9a138d8d3af9357da0b3f8e93 (patch) | |
tree | c0af07f1831a84ffca994b89ac4686fe5ff8269b /scumm | |
parent | 5d25e4a197978938719bb50390e7a9f395e6d3dd (diff) | |
download | scummvm-rg350-c97d5297870526f9a138d8d3af9357da0b3f8e93.tar.gz scummvm-rg350-c97d5297870526f9a138d8d3af9357da0b3f8e93.tar.bz2 scummvm-rg350-c97d5297870526f9a138d8d3af9357da0b3f8e93.zip |
polygon slots should be cleared in startScene
svn-id: r15114
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; |