aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2016-02-09 16:42:45 +0100
committerJohannes Schickel2016-02-09 16:42:45 +0100
commitb911976a66837f9fd540f26dc3db54977934e76e (patch)
tree7a8cdcb53f372935b7a3d27514af737f74d38a24 /engines
parentab22c27f7a7aa71bbb796e8eebde758ec02fe5b3 (diff)
downloadscummvm-rg350-b911976a66837f9fd540f26dc3db54977934e76e.tar.gz
scummvm-rg350-b911976a66837f9fd540f26dc3db54977934e76e.tar.bz2
scummvm-rg350-b911976a66837f9fd540f26dc3db54977934e76e.zip
SCI: Take advantage of operator-> of Common::List::iterator.
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/event.cpp2
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()) {