diff options
author | uruk | 2014-06-06 22:26:27 +0200 |
---|---|---|
committer | uruk | 2014-06-06 22:26:27 +0200 |
commit | 968f24af4787563c27c839ada08d4772b1ecd1b9 (patch) | |
tree | 8230602da97b0f8fc40ea76bd5ff050250c1278e | |
parent | 97bb1370a317b7ce3784889d74b61b6e5fd7bc84 (diff) | |
download | scummvm-rg350-968f24af4787563c27c839ada08d4772b1ecd1b9.tar.gz scummvm-rg350-968f24af4787563c27c839ada08d4772b1ecd1b9.tar.bz2 scummvm-rg350-968f24af4787563c27c839ada08d4772b1ecd1b9.zip |
CGE2: Fix coord conversion in EventManager::poll().
-rw-r--r-- | engines/cge2/events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/events.cpp b/engines/cge2/events.cpp index 55c384cf9c..75da3fac40 100644 --- a/engines/cge2/events.cpp +++ b/engines/cge2/events.cpp @@ -155,7 +155,7 @@ EventManager::EventManager(CGE2Engine *vm) : _vm(vm){ void EventManager::poll() { while (g_system->getEventManager()->pollEvent(_event)) { - _event.mouse.y = kScrHeight - _event.mouse.y; + _event.mouse.y = kWorldHeight - _event.mouse.y; switch (_event.type) { case Common::EVENT_KEYDOWN: case Common::EVENT_KEYUP: |