aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/touche.cpp
diff options
context:
space:
mode:
authorMax Horn2007-04-01 18:08:19 +0000
committerMax Horn2007-04-01 18:08:19 +0000
commit3db1dd05bc4fe12cc00d465c62ebeedd5581bb6f (patch)
tree73bc4847e55914c9fa83865d40d219e847ddfb32 /engines/touche/touche.cpp
parent1cf48cf17d737faf405efe0e1dd6b53c84934384 (diff)
downloadscummvm-rg350-3db1dd05bc4fe12cc00d465c62ebeedd5581bb6f.tar.gz
scummvm-rg350-3db1dd05bc4fe12cc00d465c62ebeedd5581bb6f.tar.bz2
scummvm-rg350-3db1dd05bc4fe12cc00d465c62ebeedd5581bb6f.zip
Replaced another use of getEventManager() by using Engine::_eventMan
svn-id: r26360
Diffstat (limited to 'engines/touche/touche.cpp')
-rw-r--r--engines/touche/touche.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/touche/touche.cpp b/engines/touche/touche.cpp
index 54503f2235..69e4ac8a22 100644
--- a/engines/touche/touche.cpp
+++ b/engines/touche/touche.cpp
@@ -285,8 +285,7 @@ void ToucheEngine::mainLoop() {
void ToucheEngine::processEvents(bool handleKeyEvents) {
Common::Event event;
- Common::EventManager *eventMan = _system->getEventManager();
- while (eventMan->pollEvent(event)) {
+ while (_eventMan->pollEvent(event)) {
switch (event.type) {
case Common::EVENT_QUIT:
_flagsTable[611] = 1;