diff options
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 eb06ba0e..ec8cf341 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -390,6 +390,7 @@ void Viewport::mousePressed(gcn::MouseEvent &event) else { player_node->stopAttack(); + player_node->cancelFollow(); mPlayerFollowMouse = true; // Make the player go to the mouse position |