aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2013-06-14 08:36:16 +0200
committerStrangerke2013-06-14 08:37:01 +0200
commit49ec202701164cc5a6c985dd26c19c21305db8c0 (patch)
tree21bc0b1685d030f4396d7b56b940bf1fec051fbd /engines
parent4c13725a55fed393188a008a6e95a28e0c9c74c8 (diff)
downloadscummvm-rg350-49ec202701164cc5a6c985dd26c19c21305db8c0.tar.gz
scummvm-rg350-49ec202701164cc5a6c985dd26c19c21305db8c0.tar.bz2
scummvm-rg350-49ec202701164cc5a6c985dd26c19c21305db8c0.zip
HOPKINS: Fix Heisenbug occuring when finishing the Polish demo
Thanks Greencis for reporting it.
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/hopkins.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index 305a805c58..173c4d5f11 100644
--- a/engines/hopkins/hopkins.cpp
+++ b/engines/hopkins/hopkins.cpp
@@ -1904,10 +1904,7 @@ void HopkinsEngine::bombExplosion() {
}
void HopkinsEngine::restoreSystem() {
- // If the game isn't alerady trying to quit, flag that quitting is needed
- if (!shouldQuit())
- quitGame();
-
+ quitGame();
_events->refreshEvents();
}