summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-06 03:35:15 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-06 03:41:41 +0300
commit7ba416812eff7e24e93e9a3918299d4386b4a89a (patch)
tree24285fe83c6072c86faac034f2cd6977a6a14d1b /src/localplayer.h
parent36eeb46446039147b64a4552242002beaaec680d (diff)
downloadplus-7ba416812eff7e24e93e9a3918299d4386b4a89a.tar.gz
plus-7ba416812eff7e24e93e9a3918299d4386b4a89a.tar.bz2
plus-7ba416812eff7e24e93e9a3918299d4386b4a89a.tar.xz
plus-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.h4
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();