diff options
author | Bertram <bertram@cegetel.net> | 2009-10-16 01:12:09 +0200 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2009-10-16 01:12:09 +0200 |
commit | ae8c3e89728ddc1f8e91e6e54ded039fd1fa600f (patch) | |
tree | 0191e06aeab32bda1f3fa6fcfdbee5714d95dc5a /src/gui/viewport.cpp | |
parent | 7da8ae1c1463a9659d776ff497ad18157cc2917c (diff) | |
download | mana-client-ae8c3e89728ddc1f8e91e6e54ded039fd1fa600f.tar.gz mana-client-ae8c3e89728ddc1f8e91e6e54ded039fd1fa600f.tar.bz2 mana-client-ae8c3e89728ddc1f8e91e6e54ded039fd1fa600f.tar.xz mana-client-ae8c3e89728ddc1f8e91e6e54ded039fd1fa600f.zip |
Made the keyboard walking pixel exact again.
What's left is working on player corner handling and directions while walking.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 7010ced6..cf21288c 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -378,6 +378,7 @@ void Viewport::mousePressed(gcn::MouseEvent &event) mLocalWalkTime = tick_time; player_node->setDestination(event.getX() + (int) mPixelViewX, event.getY() + (int) mPixelViewY); + player_node->pathSetByMouse(); } #else player_node->setDestination(tilex, tiley); |