diff options
Diffstat (limited to 'engines/agi/saveload.cpp')
-rw-r--r-- | engines/agi/saveload.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/agi/saveload.cpp b/engines/agi/saveload.cpp index 88b14dcfe2..1a968816d4 100644 --- a/engines/agi/saveload.cpp +++ b/engines/agi/saveload.cpp @@ -333,7 +333,7 @@ int AgiEngine::loadGame(const char *fileName, bool checkId) { debug(0, "Saved game MD5: \"%s\"", md5); if (!getGameMD5()) { - warning("Since your game was only detected via the fallback detector, there is no possibility to assure the save is compatible with your game version."); + warning("Since your game was only detected via the fallback detector, there is no possibility to assure the save is compatible with your game version"); debug(0, "The game used for saving is \"%s\".", md5); } else if (strcmp(md5, getGameMD5())) { @@ -809,12 +809,11 @@ int AgiEngine::saveGameDialog() { printText("Select a slot in which you wish to\nsave the game:", 0, hm + 1, vm + 1, w, MSG_BOX_TEXT, MSG_BOX_COLOUR); slot = selectSlot(); - if (slot == 0) + if (slot + _firstSlot == 0) messageBox("That slot is for Autosave only."); else if (slot < 0) return errOK; - } - while (slot == 0); + } while (slot + _firstSlot == 0); drawWindow(hp, vp + 5 * CHAR_LINES, GFX_WIDTH - hp, GFX_HEIGHT - vp - 9 * CHAR_LINES); |