aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r--scumm/scumm.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 8c6041148a..3b423472b1 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1769,12 +1769,14 @@ void ScummEngine::startScene(int room, Actor *a, int objectNr) {
stopCycle(0);
_sound->processSoundQues();
- if (_heversion >= 70 && _wizPolygons) {
+ if (_heversion >= 71 && _wizPolygons) {
memset(_wizPolygons, 0, _wizNumPolygons * sizeof(WizPolygon));
}
+ // For HE80+ games
for (i = 0; i < _numRoomVariables; i++)
_roomVars[i] = 0;
+ nukeArrays(0xFFFFFFFF);
for (i = 1; i < _numActors; i++) {
_actors[i].hideActor();