aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/events.cpp
diff options
context:
space:
mode:
authorStrangerke2014-03-08 14:26:25 +0100
committerStrangerke2014-03-08 14:26:25 +0100
commit1e45673b4d930b2266ca05006a80cc48509b6226 (patch)
tree01be492b1b74bf41e8048cc6d8a53c66544037bc /engines/voyeur/events.cpp
parente752d38ac15360e78dd051e877785d6cc90fdcf6 (diff)
downloadscummvm-rg350-1e45673b4d930b2266ca05006a80cc48509b6226.tar.gz
scummvm-rg350-1e45673b4d930b2266ca05006a80cc48509b6226.tar.bz2
scummvm-rg350-1e45673b4d930b2266ca05006a80cc48509b6226.zip
VOYEUR: Fix some uninitialized variables
Diffstat (limited to 'engines/voyeur/events.cpp')
-rw-r--r--engines/voyeur/events.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp
index 4c1ed419a2..03ea4d3252 100644
--- a/engines/voyeur/events.cpp
+++ b/engines/voyeur/events.cpp
@@ -82,6 +82,9 @@ EventsManager::EventsManager(VoyeurEngine *vm) : _intPtr(_gameData),
_fadeFirstCol = _fadeLastCol = 0;
_fadeCount = 1;
+
+ for (int i = 0; i < 4; i++)
+ _cycleNext[i] = nullptr;
}
void EventsManager::startMainClockInt() {