From 8c010610532b0bb90a782f25facfbe46683f91bb Mon Sep 17 00:00:00 2001 From: Christoph Oelckers <coelckers@users.noreply.github.com> Date: Tue, 25 Feb 2020 20:51:58 +0100 Subject: [PATCH] - SW: Explicitly call hud_size's callback to reinitialize the status bar when loading a savegame. Since part of the bar's content is stored in a savegame it needs to be manually refreshed after loading or it may display garbage. --- source/sw/src/save.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/sw/src/save.cpp b/source/sw/src/save.cpp index 84d295a20..adb54418c 100644 --- a/source/sw/src/save.cpp +++ b/source/sw/src/save.cpp @@ -1187,6 +1187,7 @@ bool GameInterface::LoadGame(FSaveGameNode* sv) + hud_size.Callback(); LoadGameOutsideMoveLoop = TRUE; if (!InMenuLevel) {