aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Crozat2017-07-27 20:59:41 +0100
committerThierry Crozat2017-07-27 21:05:43 +0100
commit013b09fa2845b060f7adf8eb737fd89b4810223c (patch)
tree0c01dc9aff463d3bed6f87ff22bc039d47c49a8c
parent4d1b88df1e9bd04473c8a26800ef884eb6909f0f (diff)
downloadscummvm-rg350-013b09fa2845b060f7adf8eb737fd89b4810223c.tar.gz
scummvm-rg350-013b09fa2845b060f7adf8eb737fd89b4810223c.tar.bz2
scummvm-rg350-013b09fa2845b060f7adf8eb737fd89b4810223c.zip
COMMON: Only clear events from the EventSources in clearEvents()
-rw-r--r--common/EventDispatcher.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/EventDispatcher.cpp b/common/EventDispatcher.cpp
index b81db6ff19..5c8a9a3119 100644
--- a/common/EventDispatcher.cpp
+++ b/common/EventDispatcher.cpp
@@ -76,8 +76,6 @@ void EventDispatcher::clearEvents() {
for (List<SourceEntry>::iterator i = _sources.begin(); i != _sources.end(); ++i) {
while (i->source->pollEvent(event)) {}
}
-
- List<Event> delayedEvents = _mapper->getDelayedEvents();
}