From 93d634813d8db66261fc39768e232034acab9ef2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 5 Jan 2020 20:41:57 +0100 Subject: [PATCH] - fixed SW's savegame handling. This set up the wrong game state for saves from within the game loop. --- source/sw/src/save.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/source/sw/src/save.cpp b/source/sw/src/save.cpp index 95320d74c..3ee26f112 100644 --- a/source/sw/src/save.cpp +++ b/source/sw/src/save.cpp @@ -1276,10 +1276,14 @@ bool GameInterface::LoadGame(FSaveGameNode* sv) DoPlayerNightVisionPalette(Player+myconnectindex); - ExitLevel = TRUE; - LoadGameOutsideMoveLoop = TRUE; + - if (!InMenuLevel) ready2send = 1; + if (!InMenuLevel) + { + ready2send = 1; + LoadGameOutsideMoveLoop = TRUE; + } + else ExitLevel = TRUE; return true; }