diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp index f8285c26f2..7fa3f3c25c 100644 --- a/engines/sci/event.cpp +++ b/engines/sci/event.cpp @@ -342,7 +342,7 @@ SciEvent EventManager::getSciEvent(unsigned int mask) { // Search for matching event in queue Common::List<SciEvent>::iterator iter = _events.begin(); - while (iter != _events.end() && !((*iter).type & mask)) + while (iter != _events.end() && !(iter->type & mask)) ++iter; if (iter != _events.end()) { |