diff options
author | Peter Kohaut | 2019-01-19 10:27:42 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-01-19 23:15:41 +0100 |
commit | 3ac69d40a6f6cf8d7a657dbf70df1bce234ebe8e (patch) | |
tree | 6135ae7261063cce5e24be75fa1a2af980da4ce1 /engines/bladerunner/ui | |
parent | 4372c3d05e3a1f3775fb7b54ddade06d96b5507c (diff) | |
download | scummvm-rg350-3ac69d40a6f6cf8d7a657dbf70df1bce234ebe8e.tar.gz scummvm-rg350-3ac69d40a6f6cf8d7a657dbf70df1bce234ebe8e.tar.bz2 scummvm-rg350-3ac69d40a6f6cf8d7a657dbf70df1bce234ebe8e.zip |
BLADERUNNER: Fixed save selection in the load screen
If there was a empty slot in save game list, game would load wrong save
file.
Diffstat (limited to 'engines/bladerunner/ui')
-rw-r--r-- | engines/bladerunner/ui/kia_section_load.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/ui/kia_section_load.cpp b/engines/bladerunner/ui/kia_section_load.cpp index bada5a1415..9b37f5e554 100644 --- a/engines/bladerunner/ui/kia_section_load.cpp +++ b/engines/bladerunner/ui/kia_section_load.cpp @@ -150,7 +150,7 @@ void KIASectionLoad::scrollBoxCallback(void *callbackData, void *source, int lin } else if (lineData == self->_newGameHardLineId) { self->_vm->newGame(2); } else { - self->_vm->loadGameState(lineData); + self->_vm->loadGameState(self->_saveList[lineData].getSaveSlot()); } self->_vm->_audioPlayer->playAud(self->_vm->_gameInfo->getSfxTrack(513), 90, 0, 0, 50, 0); |