diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-06 03:35:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-06 03:41:41 +0300 |
commit | 7ba416812eff7e24e93e9a3918299d4386b4a89a (patch) | |
tree | 24285fe83c6072c86faac034f2cd6977a6a14d1b /src/localplayer.h | |
parent | 36eeb46446039147b64a4552242002beaaec680d (diff) | |
download | mv-7ba416812eff7e24e93e9a3918299d4386b4a89a.tar.gz mv-7ba416812eff7e24e93e9a3918299d4386b4a89a.tar.bz2 mv-7ba416812eff7e24e93e9a3918299d4386b4a89a.tar.xz mv-7ba416812eff7e24e93e9a3918299d4386b4a89a.zip |
Fix player moving with mouse.
Now move with mouse is soft moving. Player always can stop or change direction.
Collisions not stoping player what holding down left mouse button.
Also fix typo in method name navigateClean.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index e48afff12..4b9e98c13 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -327,11 +327,11 @@ class LocalPlayer : public Being, public ActorSpriteListener, void afkRespond(ChatTab *tab, const std::string &nick); - void navigateTo(int x, int y); + bool navigateTo(int x, int y); void navigateTo(Being *being); - void naviageClean(); + void navigateClean(); void updateCoords(); |