mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-01 15:55:45 +00:00
TSAGE: Fix 'Restart' button, when game is over
This commit is contained in:
parent
2aaeb19a2c
commit
f51eaed595
@ -1413,7 +1413,10 @@ void RingworldGame::endGame(int resNum, int lineNum) {
|
||||
// Savegames exist, so prompt for Restore/Restart
|
||||
bool breakFlag;
|
||||
do {
|
||||
if (MessageDialog::show(msg, RESTART_BTN_STRING, RESTORE_BTN_STRING) == 0 || _vm->shouldQuit()) {
|
||||
if (_vm->shouldQuit()) {
|
||||
breakFlag = true;
|
||||
} else if (MessageDialog::show(msg, RESTART_BTN_STRING, RESTORE_BTN_STRING) == 0) {
|
||||
restart();
|
||||
breakFlag = true;
|
||||
} else {
|
||||
handleSaveLoad(false, _globals->_sceneHandler._loadGameSlot, _globals->_sceneHandler._saveName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user