From d0bcf4d281f503f7a7d74d8595c85958b0f26bd3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 30 Jan 2010 19:04:21 +0000 Subject: SCI: Mark scriptState as one of the many evil global vars in the SCI engine svn-id: r47724 --- engines/sci/engine/vm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3