aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorChristopher Page2008-08-05 21:38:59 +0000
committerChristopher Page2008-08-05 21:38:59 +0000
commit21cd277f13341375d9badc2c251426fc51448344 (patch)
treee16604e3b0a66b415e0cd5300d52db572f47559c /engines/agi
parent2acbc2a88eac1abe4bd548c5eb67a7d90fead4d1 (diff)
downloadscummvm-rg350-21cd277f13341375d9badc2c251426fc51448344.tar.gz
scummvm-rg350-21cd277f13341375d9badc2c251426fc51448344.tar.bz2
scummvm-rg350-21cd277f13341375d9badc2c251426fc51448344.zip
Fixed some GCC warnings
svn-id: r33647
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/preagi_mickey.cpp2
-rw-r--r--engines/agi/preagi_winnie.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/preagi_mickey.cpp b/engines/agi/preagi_mickey.cpp
index 5d89e96d59..df7f32b432 100644
--- a/engines/agi/preagi_mickey.cpp
+++ b/engines/agi/preagi_mickey.cpp
@@ -342,7 +342,7 @@ bool Mickey::getMenuSelRow(MSA_MENU menu, int *sel0, int *sel1, int iRow) {
drawMenu(menu, *sel0, *sel1);
- while (!_vm->quit()) {
+ for(;;) {
while (_vm->_system->getEventManager()->pollEvent(event)) {
switch(event.type) {
case Common::EVENT_RTL:
diff --git a/engines/agi/preagi_winnie.cpp b/engines/agi/preagi_winnie.cpp
index bf023fe5e5..de8839b7bc 100644
--- a/engines/agi/preagi_winnie.cpp
+++ b/engines/agi/preagi_winnie.cpp
@@ -240,7 +240,7 @@ int Winnie::parser(int pc, int index, uint8 *buffer) {
// extract header from buffer
parseRoomHeader(&hdr, buffer, sizeof(WTP_ROOM_HDR));
- while (!_vm->quit()) {
+ for (;;) {
pc = startpc;
// check if block is to be run