diff options
author | Alyssa Milburn | 2012-09-27 22:41:51 +0200 |
---|---|---|
committer | Alyssa Milburn | 2012-09-27 22:41:51 +0200 |
commit | 41d337c5494caa2521077adc033fb19cd76773e8 (patch) | |
tree | d692aa7f643d2b4b9eef3635cd7076d520b555ac /engines/parallaction/exec.cpp | |
parent | d7b74ed5b156d1c9087318a99907aa34f8db6f09 (diff) | |
download | scummvm-rg350-41d337c5494caa2521077adc033fb19cd76773e8.tar.gz scummvm-rg350-41d337c5494caa2521077adc033fb19cd76773e8.tar.bz2 scummvm-rg350-41d337c5494caa2521077adc033fb19cd76773e8.zip |
PARALLACTION: Clean up global variables a bit.
Diffstat (limited to 'engines/parallaction/exec.cpp')
-rw-r--r-- | engines/parallaction/exec.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/exec.cpp b/engines/parallaction/exec.cpp index 8594d02641..122abf9e0e 100644 --- a/engines/parallaction/exec.cpp +++ b/engines/parallaction/exec.cpp @@ -56,7 +56,7 @@ void ProgramExec::runScript(ProgramPtr script, AnimationPtr a) { } void ProgramExec::runScripts(ProgramList::iterator first, ProgramList::iterator last) { - if (_engineFlags & kEnginePauseJobs) { + if (g_engineFlags & kEnginePauseJobs) { return; } @@ -110,7 +110,7 @@ void CommandExec::runList(CommandList::iterator first, CommandList::iterator las } if (cmd->_flagsOn & kFlagsGlobal) { - useFlags = _globalFlags | kFlagsGlobal; + useFlags = g_globalFlags | kFlagsGlobal; useLocalFlags = false; } else { useFlags = _vm->getLocationFlags(); @@ -182,7 +182,7 @@ void CommandExec::suspend() { } void CommandExec::runSuspended() { - if (_engineFlags & kEngineWalking) { + if (g_engineFlags & kEngineWalking) { return; } |