aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/chewy/events.cpp')
-rw-r--r--engines/chewy/events.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/chewy/events.cpp b/engines/chewy/events.cpp
index cfbcb8ba1f..6675fea392 100644
--- a/engines/chewy/events.cpp
+++ b/engines/chewy/events.cpp
@@ -25,6 +25,7 @@
#include "chewy/chewy.h"
#include "chewy/console.h"
+#include "chewy/cursor.h"
#include "chewy/events.h"
#include "chewy/graphics.h"
@@ -44,7 +45,7 @@ void Events::processEvents() {
_vm->quitGame();
break;
case Common::KEYCODE_SPACE:
- _graphics->nextCursor();
+ _vm->_cursor->nextCursor();
break;
case Common::KEYCODE_d:
if (_event.kbd.flags & Common::KBD_CTRL)
@@ -54,7 +55,7 @@ void Events::processEvents() {
break;
}
} else if (_event.type == Common::EVENT_RBUTTONUP) {
- _graphics->nextCursor();
+ _vm->_cursor->nextCursor();
}
}
}