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
|
@ -1234,7 +1234,7 @@ bool Inter_v1::o1_repeatUntil(OpFuncParams ¶ms) {
|
|||
funcBlock(1);
|
||||
_vm->_global->_inter_execPtr = blockPtr + size + 1;
|
||||
flag = evalBoolResult();
|
||||
} while (!flag && !_break && !_terminate && !_vm->quit());
|
||||
} while (!flag && !_break && !_terminate && !_vm->shouldQuit());
|
||||
|
||||
_nestLevel[0]--;
|
||||
|
||||
|
@ -1269,7 +1269,7 @@ bool Inter_v1::o1_whileDo(OpFuncParams ¶ms) {
|
|||
} else
|
||||
_vm->_global->_inter_execPtr += size;
|
||||
|
||||
if (_break || _terminate || _vm->quit()) {
|
||||
if (_break || _terminate || _vm->shouldQuit()) {
|
||||
_vm->_global->_inter_execPtr = blockPtr;
|
||||
_vm->_global->_inter_execPtr += size;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue