aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/snail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/snail.cpp')
-rw-r--r--engines/cge/snail.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp
index 217acb2448..9db8f4af6f 100644
--- a/engines/cge/snail.cpp
+++ b/engines/cge/snail.cpp
@@ -180,7 +180,7 @@ static void SNGame(Sprite *spr, int num) {
k2->step(new_random(6));
k3->step(new_random(6));
///--------------------
- if (spr->_ref == 1 && Keyboard::_key[ALT]) {
+ if (spr->_ref == 1 && _keyboard->_key[ALT]) {
k1->step(5);
k2->step(5);
k3->step(5);
@@ -897,9 +897,9 @@ static void SNReach(Sprite *spr, int mode) {
static void SNMouse(bool on) {
if (on)
- Mouse->On();
+ _mouse->On();
else
- Mouse->Off();
+ _mouse->Off();
}