[Scummvm-cvs-logs] SF.net SVN: scummvm:[49881] scummvm/trunk/engines/agi/text.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Tue Jun 15 20:17:51 CEST 2010
Revision: 49881
http://scummvm.svn.sourceforge.net/scummvm/?rev=49881&view=rev
Author: eriktorbjorn
Date: 2010-06-15 18:17:51 +0000 (Tue, 15 Jun 2010)
Log Message:
-----------
Added the same quit/restart test to print() as we have in so many other places.
This makes it easier to quit the game during the text box in the King's Quest 3
into, and probably other places as well.
Modified Paths:
--------------
scummvm/trunk/engines/agi/text.cpp
Modified: scummvm/trunk/engines/agi/text.cpp
===================================================================
--- scummvm/trunk/engines/agi/text.cpp 2010-06-15 17:56:05 UTC (rev 49880)
+++ scummvm/trunk/engines/agi/text.cpp 2010-06-15 18:17:51 UTC (rev 49881)
@@ -489,7 +489,7 @@
_game.keypress = 0;
break;
}
- } while (_game.msgBoxTicks > 0);
+ } while (_game.msgBoxTicks > 0 && !(shouldQuit() || _restartGame));
setvar(vWindowReset, 0);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list