HDB: Added missing calls to loadGameState()
This commit is contained in:
parent
9d9a1b6c0f
commit
538ab04493
1 changed files with 10 additions and 0 deletions
|
@ -62,6 +62,8 @@ Common::Error HDBGame::loadGameState(int slot) {
|
|||
return Common::kReadingFailed;
|
||||
}
|
||||
|
||||
_window->closeAll();
|
||||
|
||||
Graphics::skipThumbnail(*in);
|
||||
|
||||
// Actual Save Data
|
||||
|
@ -74,6 +76,14 @@ Common::Error HDBGame::loadGameState(int slot) {
|
|||
|
||||
delete in;
|
||||
|
||||
// center the player on the screen
|
||||
int x, y;
|
||||
_ai->getPlayerXY(&x, &y);
|
||||
_map->centerMapXY(x + 16, y + 16);
|
||||
|
||||
if (!_ai->cinematicsActive())
|
||||
_gfx->turnOffFade();
|
||||
|
||||
return Common::kNoError;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue