Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
This commit is contained in:
parent
87917e06d9
commit
9b160804ab
97 changed files with 293 additions and 272 deletions
|
@ -178,7 +178,7 @@ bool EMCInterpreter::start(EMCState *script, int function) {
|
|||
}
|
||||
|
||||
bool EMCInterpreter::isValid(EMCState *script) {
|
||||
if (!script->ip || !script->dataPtr || _vm->quit())
|
||||
if (!script->ip || !script->dataPtr || _vm->shouldQuit())
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue