aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2009-03-29 11:22:49 +0000
committerPaul Gilbert2009-03-29 11:22:49 +0000
commite930f4c79238cd84191e21e5ffe52a5521b0eb87 (patch)
tree963b7967b7fcbfa4483bd9d90e9fb07908c331d5 /engines
parent28465d73bbb7a5f7e23f4baa3fa34db097c80a03 (diff)
downloadscummvm-rg350-e930f4c79238cd84191e21e5ffe52a5521b0eb87.tar.gz
scummvm-rg350-e930f4c79238cd84191e21e5ffe52a5521b0eb87.tar.bz2
scummvm-rg350-e930f4c79238cd84191e21e5ffe52a5521b0eb87.zip
Added missing parenthesis in M4Engine::delay
svn-id: r39733
Diffstat (limited to 'engines')
-rw-r--r--engines/m4/m4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/m4.cpp b/engines/m4/m4.cpp
index 37f6599037..c27f151fdf 100644
--- a/engines/m4/m4.cpp
+++ b/engines/m4/m4.cpp
@@ -220,7 +220,7 @@ bool M4Engine::delay(int duration, bool keyAborts, bool clickAborts) {
while (!_events->quitFlag && (g_system->getMillis() < endTime)) {
event = _events->handleEvents();
- if (clickAborts && (event == MEVENT_LEFT_RELEASE) || (event == MEVENT_RIGHT_RELEASE))
+ if (clickAborts && ((event == MEVENT_LEFT_RELEASE) || (event == MEVENT_RIGHT_RELEASE)))
return true;
if (_events->kbdCheck(keycode)) {