aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMax Horn2010-01-30 19:04:21 +0000
committerMax Horn2010-01-30 19:04:21 +0000
commitd0bcf4d281f503f7a7d74d8595c85958b0f26bd3 (patch)
tree826f29a40e46d77183507764125ddc00ea33d781 /engines/sci/engine
parenta652b603c97fb31d6943645603a6d585bda166ad (diff)
downloadscummvm-rg350-d0bcf4d281f503f7a7d74d8595c85958b0f26bd3.tar.gz
scummvm-rg350-d0bcf4d281f503f7a7d74d8595c85958b0f26bd3.tar.bz2
scummvm-rg350-d0bcf4d281f503f7a7d74d8595c85958b0f26bd3.zip
SCI: Mark scriptState as one of the many evil global vars in the SCI engine
svn-id: r47724
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/vm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 610a228b3f..a57044564f 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -45,7 +45,7 @@ const reg_t SIGNAL_REG = {0, SIGNAL_OFFSET};
//#define VM_DEBUG_SEND
-ScriptState scriptState;
+ScriptState scriptState; // FIXME: Avoid non-const global vars
int script_abort_flag = 0; // Set to 1 to abort execution. Set to 2 to force a replay afterwards // FIXME: Avoid non-const global vars
int script_step_counter = 0; // Counts the number of steps executed // FIXME: Avoid non-const global vars