From 3ac69d40a6f6cf8d7a657dbf70df1bce234ebe8e Mon Sep 17 00:00:00 2001 From: Peter Kohaut Date: Sat, 19 Jan 2019 10:27:42 +0100 Subject: BLADERUNNER: Fixed save selection in the load screen If there was a empty slot in save game list, game would load wrong save file. --- engines/bladerunner/ui/kia_section_load.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/bladerunner/ui') 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); -- cgit v1.2.3