diff options
author | Max Horn | 2007-04-01 18:08:19 +0000 |
---|---|---|
committer | Max Horn | 2007-04-01 18:08:19 +0000 |
commit | 3db1dd05bc4fe12cc00d465c62ebeedd5581bb6f (patch) | |
tree | 73bc4847e55914c9fa83865d40d219e847ddfb32 /engines/touche/ui.cpp | |
parent | 1cf48cf17d737faf405efe0e1dd6b53c84934384 (diff) | |
download | scummvm-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/ui.cpp')
-rw-r--r-- | engines/touche/ui.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/touche/ui.cpp b/engines/touche/ui.cpp index 11da58d75f..997999eaf7 100644 --- a/engines/touche/ui.cpp +++ b/engines/touche/ui.cpp @@ -379,8 +379,7 @@ void ToucheEngine::handleOptions(int forceDisplay) { } } Common::Event event; - Common::EventManager *eventMan = _system->getEventManager(); - while (eventMan->pollEvent(event)) { + while (_eventMan->pollEvent(event)) { const Button *button = 0; switch (event.type) { case Common::EVENT_QUIT: @@ -546,8 +545,7 @@ int ToucheEngine::displayQuitDialog() { bool quitLoop = false; while (!quitLoop) { Common::Event event; - Common::EventManager *eventMan = _system->getEventManager(); - while (eventMan->pollEvent(event)) { + while (_eventMan->pollEvent(event)) { switch (event.type) { case Common::EVENT_QUIT: quitLoop = true; |