diff options
author | Strangerke | 2013-06-14 08:36:16 +0200 |
---|---|---|
committer | Strangerke | 2013-06-14 08:37:01 +0200 |
commit | 49ec202701164cc5a6c985dd26c19c21305db8c0 (patch) | |
tree | 21bc0b1685d030f4396d7b56b940bf1fec051fbd | |
parent | 4c13725a55fed393188a008a6e95a28e0c9c74c8 (diff) | |
download | scummvm-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.
-rw-r--r-- | engines/hopkins/hopkins.cpp | 5 |
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(); } |