diff options
author | Torbjörn Andersson | 2008-12-19 17:31:14 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2008-12-19 17:31:14 +0000 |
commit | c6bd85e370b2f533e207457c4b40fe55ef823494 (patch) | |
tree | 1fb42c01ea6e4aafa8cbbffbb2320d2181846269 | |
parent | 1477116d9bc3b283674ef5d9489c153bfdd5f062 (diff) | |
download | scummvm-rg350-c6bd85e370b2f533e207457c4b40fe55ef823494.tar.gz scummvm-rg350-c6bd85e370b2f533e207457c4b40fe55ef823494.tar.bz2 scummvm-rg350-c6bd85e370b2f533e207457c4b40fe55ef823494.zip |
Allow quitting/returning to launcher while in the save/load dialog. I don't
know if there are other such spots that need to be fixed as well.
svn-id: r35442
-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:", |