PETKA: set save desc when saving from game menu

This commit is contained in:
Andrei Prykhodko 2022-02-10 22:20:23 +02:00
parent d6a501304d
commit 9c039d027e

View File

@ -113,7 +113,9 @@ void InterfaceSaveLoad::onLeftButtonDown(Common::Point p) {
}
} else {
stop();
_loadMode ? g_vm->loadGameState(_page * 6 + index) : g_vm->saveGameState(_page * 6 + index, "", false);
const uint slot = _page * 6 + index;
_loadMode ? g_vm->loadGameState(slot) : g_vm->saveGameState(slot, Common::String::format("Save %d", slot + 1), false);
}
}