diff options
author | Filippos Karapetis | 2010-06-08 21:05:46 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-08 21:05:46 +0000 |
commit | 9304b5fbeb4cb3d181d96be6da34073fc5851939 (patch) | |
tree | ab888c3b181054673e1d2374c5b5df4af82fc5d0 /engines/sci/engine/kevent.cpp | |
parent | 641ffa5ee3b8036c1a03fc557d0f9705c824eb3e (diff) | |
download | scummvm-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.cpp | 2 |
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; |