Skip to content

Commit

Permalink
XEEN: Redraw party after loading a savegame
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Mar 24, 2018
1 parent ece8ded commit 74d0fdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engines/xeen/saves.cpp
Expand Up @@ -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;
}
Expand Down
1 change: 1 addition & 0 deletions engines/xeen/xeen.cpp
Expand Up @@ -254,6 +254,7 @@ void XeenEngine::gameLoop() {
int saveSlot = _loadSaveSlot;
_loadSaveSlot = -1;
_saves->loadGameState(saveSlot);
_interface->drawParty(true);
}

_map->cellFlagLookup(_party->_mazePosition);
Expand Down

0 comments on commit 74d0fdf

Please sign in to comment.