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/commandhandler.cpp | |
parent | 36eeb46446039147b64a4552242002beaaec680d (diff) | |
download | manaplus-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/commandhandler.cpp')
-rw-r--r-- | src/commandhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp index 6b7706a00..8d4168e76 100644 --- a/src/commandhandler.cpp +++ b/src/commandhandler.cpp @@ -690,7 +690,7 @@ void CommandHandler::handleNavigate(const std::string &args, if (parse2Int(args, &x, &y)) player_node->navigateTo(x, y); else - player_node->naviageClean(); + player_node->navigateClean(); } bool CommandHandler::parse2Int(const std::string &args, int *x, int *y) |