diff options
author | athrxx | 2019-07-23 16:07:26 +0200 |
---|---|---|
committer | athrxx | 2019-07-23 17:56:37 +0200 |
commit | 3ec025db4d11d5d08df0503c7d1bf1f88e235ec3 (patch) | |
tree | 4abc3327366ed5f9e25b9d6384d3ca7deb804c09 | |
parent | e232d57855c0616a0c5ac9cb0baacc328ed5f983 (diff) | |
download | scummvm-rg350-3ec025db4d11d5d08df0503c7d1bf1f88e235ec3.tar.gz scummvm-rg350-3ec025db4d11d5d08df0503c7d1bf1f88e235ec3.tar.bz2 scummvm-rg350-3ec025db4d11d5d08df0503c7d1bf1f88e235ec3.zip |
KYRA: (HOF) - minor GMM/RTL fix
The game would error out when trying to return to the launcher via GMM right at the beginning (due to trying to load files based on incompletely initialized data).
-rw-r--r-- | engines/kyra/engine/kyra_hof.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/engine/kyra_hof.cpp b/engines/kyra/engine/kyra_hof.cpp index 94eca126ec..ef8b119c0d 100644 --- a/engines/kyra/engine/kyra_hof.cpp +++ b/engines/kyra/engine/kyra_hof.cpp @@ -261,7 +261,8 @@ Common::Error KyraEngine_HoF::go() { _menuDirectlyToLoad &= saveFileLoadable(0); if (menuChoice & 1) { - startup(); + if (!shouldQuit()) + startup(); if (!shouldQuit()) runLoop(); cleanup(); |