diff options
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/events.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/lure/events.cpp b/engines/lure/events.cpp index 7a1ef4ea9a..3bc81583d7 100644 --- a/engines/lure/events.cpp +++ b/engines/lure/events.cpp @@ -20,6 +20,9 @@ * */ +#include "common/stdafx.h" +#include "common/events.h" + #include "graphics/cursorman.h" #include "lure/events.h" @@ -146,7 +149,7 @@ Events &Events::getReference() { bool Events::pollEvent() { - if (!g_system->pollEvent(_event)) return false; + if (!g_system->getEventManager()->pollEvent(_event)) return false; // Handle keypress switch (_event.type) { |