aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/preagi_winnie.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2009-01-18 02:22:57 +0000
committerMatthew Hoops2009-01-18 02:22:57 +0000
commitbd3ff9c719d4e34a112761a2eb63408a986ae159 (patch)
tree5b715386a0d467938722796e87c1b5e6f2d1782b /engines/agi/preagi_winnie.cpp
parent8f85a81791307ae342daaad996eb36756c9c8465 (diff)
downloadscummvm-rg350-bd3ff9c719d4e34a112761a2eb63408a986ae159.tar.gz
scummvm-rg350-bd3ff9c719d4e34a112761a2eb63408a986ae159.tar.bz2
scummvm-rg350-bd3ff9c719d4e34a112761a2eb63408a986ae159.zip
fix another regression from the RTL branch merge
svn-id: r35888
Diffstat (limited to 'engines/agi/preagi_winnie.cpp')
-rw-r--r--engines/agi/preagi_winnie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/preagi_winnie.cpp b/engines/agi/preagi_winnie.cpp
index 8bbe1ceb73..c7a29b94af 100644
--- a/engines/agi/preagi_winnie.cpp
+++ b/engines/agi/preagi_winnie.cpp
@@ -1121,7 +1121,7 @@ void Winnie::printRoomStr(int iRoom, int iStr) {
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);