aboutsummaryrefslogtreecommitdiff
path: root/engines/gargoyle
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gargoyle')
-rw-r--r--engines/gargoyle/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gargoyle/events.cpp b/engines/gargoyle/events.cpp
index 02c3d8dd17..93b9141f78 100644
--- a/engines/gargoyle/events.cpp
+++ b/engines/gargoyle/events.cpp
@@ -94,7 +94,7 @@ void Events::dispatchEvent(Event &ev, bool polled) {
if (!polled) {
dispatch = _eventsLogged.retrieve();
- if (dispatch)
+ if (!dispatch)
dispatch = _eventsPolled.retrieve();
} else {
dispatch = _eventsPolled.retrieve();