aboutsummaryrefslogtreecommitdiff
path: root/gui/EventRecorder.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2013-07-14 19:14:00 +0300
committerEugene Sandulenko2013-07-14 19:14:00 +0300
commitc1397788f240bb029ece9d0a551f702eb08e043a (patch)
tree6d168060b78dffae54da417b973671f7c4b8c766 /gui/EventRecorder.cpp
parentaaaf466c7122f6c595d86a0145b1f0472c8b6d31 (diff)
downloadscummvm-rg350-c1397788f240bb029ece9d0a551f702eb08e043a.tar.gz
scummvm-rg350-c1397788f240bb029ece9d0a551f702eb08e043a.tar.bz2
scummvm-rg350-c1397788f240bb029ece9d0a551f702eb08e043a.zip
RECORDER: Fix CID 1046884. Uninitialized class variables.
Diffstat (limited to 'gui/EventRecorder.cpp')
-rw-r--r--gui/EventRecorder.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/gui/EventRecorder.cpp b/gui/EventRecorder.cpp
index 47358a0b3d..8917eac2d7 100644
--- a/gui/EventRecorder.cpp
+++ b/gui/EventRecorder.cpp
@@ -77,6 +77,19 @@ EventRecorder::EventRecorder() {
_initialized = false;
_needRedraw = false;
_fastPlayback = false;
+
+ _fakeTimer = 0;
+ _savedState = false;
+ _needcontinueGame = false;
+ _temporarySlot = 0;
+ _realSaveManager = 0;
+ _realMixerManager = 0;
+ controlPanel = 0;
+ _lastMillis = 0;
+ _lastScreenshotTime = 0;
+ _screenshotPeriod = 0;
+ _playbackFile = 0;
+
DebugMan.addDebugChannel(kDebugLevelEventRec, "EventRec", "Event recorder debug level");
}