From 3ec025db4d11d5d08df0503c7d1bf1f88e235ec3 Mon Sep 17 00:00:00 2001 From: athrxx Date: Tue, 23 Jul 2019 16:07:26 +0200 Subject: 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). --- engines/kyra/engine/kyra_hof.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3