Skip to content

Commit

Permalink
ACCESS: Fix crash at end of cmdDead
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Dec 13, 2014
1 parent 4ce87a5 commit 6390f54
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions engines/access/scripts.cpp
Expand Up @@ -824,9 +824,10 @@ void Scripts::cmdDead() {

warning("TODO: restart game");
_vm->quitGame();
}
else {
_vm->_events->pollEvents();
} else {
_vm->quitGame();
_vm->_events->pollEvents();
}
}

Expand Down

0 comments on commit 6390f54

Please sign in to comment.