diff options
author | Max Horn | 2007-03-17 00:53:21 +0000 |
---|---|---|
committer | Max Horn | 2007-03-17 00:53:21 +0000 |
commit | 15d9bc42ea14d1c1fd5d1f8787664bbf0944d0a3 (patch) | |
tree | 1658efcaefcad7d9c8301317ea1acd3707048e76 /engines/saga | |
parent | a6f3ed8173a0490855df84e955229c9f77ecf9c2 (diff) | |
download | scummvm-rg350-15d9bc42ea14d1c1fd5d1f8787664bbf0944d0a3.tar.gz scummvm-rg350-15d9bc42ea14d1c1fd5d1f8787664bbf0944d0a3.tar.bz2 scummvm-rg350-15d9bc42ea14d1c1fd5d1f8787664bbf0944d0a3.zip |
Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/input.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/saga/input.cpp b/engines/saga/input.cpp index 0abce03a31..ae14a43b9b 100644 --- a/engines/saga/input.cpp +++ b/engines/saga/input.cpp @@ -32,6 +32,7 @@ #include "saga/script.h" #include "saga/isomap.h" +#include "common/events.h" #include "common/system.h" namespace Saga { @@ -41,7 +42,8 @@ int SagaEngine::processInput() { // Point imousePt; - while (g_system->pollEvent(event)) { + Common::EventManager *eventMan = _system->getEventManager(); + while (eventMan->pollEvent(event)) { switch (event.type) { case OSystem::EVENT_KEYDOWN: if (event.kbd.flags == OSystem::KBD_CTRL) { |