diff options
-rw-r--r-- | engines/agi/saveload.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/agi/saveload.cpp b/engines/agi/saveload.cpp index 3788ae7a81..a551394697 100644 --- a/engines/agi/saveload.cpp +++ b/engines/agi/saveload.cpp @@ -564,7 +564,7 @@ int AgiEngine::selectSlot() { int oldFirstSlot = _firstSlot + 1; int oldActive = active + 1; - for (;;) { + while (!shouldQuit()) { int sbPos = 0; // Use the extreme scrollbar positions only if the extreme @@ -739,7 +739,6 @@ int AgiEngine::saveGameDialog() { sprintf(fileName, "%s", getSavegameFilename(slot)); - do { drawWindow(hp, vp, GFX_WIDTH - hp, GFX_HEIGHT - vp); printText("Select a slot in which you wish to\nsave the game:", |