aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-05-06 21:23:23 -0500
committerColin Snover2017-05-06 21:23:23 -0500
commitc9f22eb1aa67a4017024bc2e1dbabdc561aa30c9 (patch)
tree3d82a5bec95eead1b81a72d5bb6286d2b905bf60
parent8e933b79ec0be71a2bc5d1fe1c17f06d4ad862a7 (diff)
downloadscummvm-rg350-c9f22eb1aa67a4017024bc2e1dbabdc561aa30c9.tar.gz
scummvm-rg350-c9f22eb1aa67a4017024bc2e1dbabdc561aa30c9.tar.bz2
scummvm-rg350-c9f22eb1aa67a4017024bc2e1dbabdc561aa30c9.zip
SCI32: Add missing ifdef for EngineState::_eventCounter
-rw-r--r--engines/sci/engine/state.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/state.cpp b/engines/sci/engine/state.cpp
index 4abf5ce303..7e7be9923c 100644
--- a/engines/sci/engine/state.cpp
+++ b/engines/sci/engine/state.cpp
@@ -101,7 +101,9 @@ void EngineState::reset(bool isRestoring) {
gcCountDown = 0;
+#ifdef ENABLE_SCI32
_eventCounter = 0;
+#endif
_throttleLastTime = 0;
_throttleTrigger = false;
_gameIsBenchmarking = false;