[Scummvm-cvs-logs] SF.net SVN: scummvm:[35888] scummvm/trunk/engines/agi/preagi_winnie.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Sun Jan 18 03:22:58 CET 2009


Revision: 35888
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35888&view=rev
Author:   mthreepwood
Date:     2009-01-18 02:22:57 +0000 (Sun, 18 Jan 2009)

Log Message:
-----------
fix another regression from the RTL branch merge

Modified Paths:
--------------
    scummvm/trunk/engines/agi/preagi_winnie.cpp

Modified: scummvm/trunk/engines/agi/preagi_winnie.cpp
===================================================================
--- scummvm/trunk/engines/agi/preagi_winnie.cpp	2009-01-18 00:55:51 UTC (rev 35887)
+++ scummvm/trunk/engines/agi/preagi_winnie.cpp	2009-01-18 02:22:57 UTC (rev 35888)
@@ -1121,7 +1121,7 @@
 
 void Winnie::gameOver() {
 	// sing the Pooh song forever
-	for (;;) {
+	while (!_vm->shouldQuit()) {
 		_vm->printStr(IDS_WTP_SONG_0);
 		playSound(IDI_WTP_SND_POOH_0);
 		_vm->printStr(IDS_WTP_SONG_1);


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