diff options
author | Paul Gilbert | 2011-07-02 16:46:31 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-07-02 16:46:31 +1000 |
commit | d55401c2e10276827372f8df29418937cc2daf22 (patch) | |
tree | 5b5c38bcb2a51cfa89d24c9ae574e26825ca3ed8 /engines/cge/snail.cpp | |
parent | 6833daab84a39a3d5dd0afcb176245f8678b28de (diff) | |
download | scummvm-rg350-d55401c2e10276827372f8df29418937cc2daf22.tar.gz scummvm-rg350-d55401c2e10276827372f8df29418937cc2daf22.tar.bz2 scummvm-rg350-d55401c2e10276827372f8df29418937cc2daf22.zip |
CGE: Changed MOUSE class from using static fields to an instantiated class
Diffstat (limited to 'engines/cge/snail.cpp')
-rw-r--r-- | engines/cge/snail.cpp | 6 |
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(); } |