From 21cd277f13341375d9badc2c251426fc51448344 Mon Sep 17 00:00:00 2001 From: Christopher Page Date: Tue, 5 Aug 2008 21:38:59 +0000 Subject: Fixed some GCC warnings svn-id: r33647 --- engines/agi/preagi_mickey.cpp | 2 +- engines/agi/preagi_winnie.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/agi') 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 -- cgit v1.2.3