diff options
-rw-r--r-- | engines/m4/m4.cpp | 2 |
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)) { |