diff options
author | Johannes Schickel | 2016-02-09 16:42:45 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-02-09 16:42:45 +0100 |
commit | b911976a66837f9fd540f26dc3db54977934e76e (patch) | |
tree | 7a8cdcb53f372935b7a3d27514af737f74d38a24 /engines/sci | |
parent | ab22c27f7a7aa71bbb796e8eebde758ec02fe5b3 (diff) | |
download | scummvm-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/sci')
-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()) { |