diff options
author | Paul Gilbert | 2018-03-23 21:43:16 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-03-23 21:43:16 -0400 |
commit | 74d0fdfe33591f67ba714701f78769f8c1899652 (patch) | |
tree | df4d1cd0467030028850c149471e4cd73e163780 | |
parent | ece8dedcf4d980e2d455ef6cc6e6444ebf617c0d (diff) | |
download | scummvm-rg350-74d0fdfe33591f67ba714701f78769f8c1899652.tar.gz scummvm-rg350-74d0fdfe33591f67ba714701f78769f8c1899652.tar.bz2 scummvm-rg350-74d0fdfe33591f67ba714701f78769f8c1899652.zip |
XEEN: Redraw party after loading a savegame
-rw-r--r-- | engines/xeen/saves.cpp | 4 | ||||
-rw-r--r-- | engines/xeen/xeen.cpp | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/engines/xeen/saves.cpp b/engines/xeen/saves.cpp index e2944d33fd..a87bba6fec 100644 --- a/engines/xeen/saves.cpp +++ b/engines/xeen/saves.cpp @@ -249,8 +249,10 @@ bool SavesManager::loadGame() { int slotNum = dialog->runModalWithCurrentTarget(); delete dialog; - if (slotNum != -1) + if (slotNum != -1) { loadGameState(slotNum); + g_vm->_interface->drawParty(true); + } return slotNum != -1; } diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp index eeace13c08..f645732562 100644 --- a/engines/xeen/xeen.cpp +++ b/engines/xeen/xeen.cpp @@ -254,6 +254,7 @@ void XeenEngine::gameLoop() { int saveSlot = _loadSaveSlot; _loadSaveSlot = -1; _saves->loadGameState(saveSlot); + _interface->drawParty(true); } _map->cellFlagLookup(_party->_mazePosition); |