aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kevent.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-08 21:05:46 +0000
committerFilippos Karapetis2010-06-08 21:05:46 +0000
commit9304b5fbeb4cb3d181d96be6da34073fc5851939 (patch)
treeab888c3b181054673e1d2374c5b5df4af82fc5d0 /engines/sci/engine/kevent.cpp
parent641ffa5ee3b8036c1a03fc557d0f9705c824eb3e (diff)
downloadscummvm-rg350-9304b5fbeb4cb3d181d96be6da34073fc5851939.tar.gz
scummvm-rg350-9304b5fbeb4cb3d181d96be6da34073fc5851939.tar.bz2
scummvm-rg350-9304b5fbeb4cb3d181d96be6da34073fc5851939.zip
Merged the restarting_flags, script_abort_flag, and restoring members of the EngineState class into one variable, abortScriptProcessing. The flag kept to signify a game restart has been placed in a boolean, gameWasRestarted
svn-id: r49518
Diffstat (limited to 'engines/sci/engine/kevent.cpp')
-rw-r--r--engines/sci/engine/kevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp
index 519a4bcc8f..4b4d605c68 100644
--- a/engines/sci/engine/kevent.cpp
+++ b/engines/sci/engine/kevent.cpp
@@ -79,7 +79,7 @@ reg_t kGetEvent(EngineState *s, int argc, reg_t *argv) {
switch (curEvent.type) {
case SCI_EVENT_QUIT:
- s->script_abort_flag = 1; // Terminate VM
+ s->abortScriptProcessing = kAbortQuitGame; // Terminate VM
g_debugState.seeking = kDebugSeekNothing;
g_debugState.runningStep = 0;
break;