summaryrefslogtreecommitdiff
path: root/src/net
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/net
parent36eeb46446039147b64a4552242002beaaec680d (diff)
downloadmanaplus-7ba416812eff7e24e93e9a3918299d4386b4a89a.tar.gz
manaplus-7ba416812eff7e24e93e9a3918299d4386b4a89a.tar.bz2
manaplus-7ba416812eff7e24e93e9a3918299d4386b4a89a.tar.xz
manaplus-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/net')
-rw-r--r--src/net/tmwa/playerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index ba881858e..5fb9d9508 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -249,7 +249,7 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
player_node->setAction(Being::STAND);
player_node->setTileCoords(x, y);
- player_node->naviageClean();
+ player_node->navigateClean();
// player_node->updateNavigateList();
}