diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-05-22 13:02:47 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-05-22 13:02:47 +0000 |
commit | 0c6830040481247a96ccc8fe15f9b1022506c0ae (patch) | |
tree | 1d19cac108370e3dfdb421ad3f497d02d5ab3e4f /src/gui | |
parent | c669ed4986b0a01abc78f6d793993d9081c6b49e (diff) | |
download | mana-0c6830040481247a96ccc8fe15f9b1022506c0ae.tar.gz mana-0c6830040481247a96ccc8fe15f9b1022506c0ae.tar.bz2 mana-0c6830040481247a96ccc8fe15f9b1022506c0ae.tar.xz mana-0c6830040481247a96ccc8fe15f9b1022506c0ae.zip |
An attemp on auto attack, not bug free for sure
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index ab818555..e3b5a0bb 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -128,5 +128,7 @@ void Gui::mousePress(int mx, int my, int button) walk(tilex, tiley, 0); player_node->setDestination(tilex, tiley); } + + autoTarget = 0; } } |