- another attempt to fix ultifd's game end issue

This commit is contained in:
Mark Vejvoda
2010-08-06 03:55:17 +00:00
parent 0f231f28e6
commit dfeea6fc0a
4 changed files with 37 additions and 15 deletions

View File

@@ -232,7 +232,9 @@ void Program::loopWorker() {
assert(programState != NULL);
if(this->programState->quitTriggered() == true) {
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
this->programState->quitAndToggleState();
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
return;
}
ProgramState *prevState = this->programState;