aboutsummaryrefslogtreecommitdiff
path: root/scumm/input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/input.cpp')
-rw-r--r--scumm/input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/input.cpp b/scumm/input.cpp
index 7cde2903c2..b8b10b975f 100644
--- a/scumm/input.cpp
+++ b/scumm/input.cpp
@@ -40,7 +40,7 @@ enum MouseButtonStatus {
void ScummEngine::parseEvents() {
OSystem::Event event;
- while (_system->poll_event(&event)) {
+ while (_system->pollEvent(event)) {
switch(event.event_code) {
case OSystem::EVENT_KEYDOWN: