mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 09:49:14 +00:00
HDB: Properly process non-existent save loading
This commit is contained in:
parent
8403960c99
commit
2b46fcf06d
@ -776,11 +776,8 @@ Common::Error HDBGame::run() {
|
||||
|
||||
startMap(mapname);
|
||||
} else {
|
||||
if (ConfMan.hasKey("save_slot")) {
|
||||
loadGameState(ConfMan.getInt("save_slot"));
|
||||
} else {
|
||||
if (!ConfMan.hasKey("save_slot") || (loadGameState(ConfMan.getInt("save_slot")).getCode() != Common::kNoError))
|
||||
startMap("MAP00");
|
||||
}
|
||||
}
|
||||
|
||||
//_window->openDialog("Sgt. Filibuster", 0, "You address me as 'sarge' or 'sergeant' or get your snappin' teeth kicked in! Got me?", 0, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user