diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-02-03 13:06:21 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-02-03 14:44:43 +0100 |
commit | 024088d76569ef07be7f166f22f3f5e22592a586 (patch) | |
tree | d72732228963c969f86ec0d5f4f96fc703bb71f5 /src/utils/xml.cpp | |
parent | e2f9e7cf25d3dd2b239496945a83a0d7c6c4e86e (diff) | |
download | mana-client-024088d76569ef07be7f166f22f3f5e22592a586.tar.gz mana-client-024088d76569ef07be7f166f22f3f5e22592a586.tar.bz2 mana-client-024088d76569ef07be7f166f22f3f5e22592a586.tar.xz mana-client-024088d76569ef07be7f166f22f3f5e22592a586.zip |
Fixed the go and attack mouse click
I first removed the keep attacking and pickup targetting unset
statements in the setdestination() function
since it was messing with all the rest of the logic,
and put those targetting logic where they belonged more.
I also changed the gotoTarget function to properly call the setTarget
function which permitted to properly unset the previous target
in that case.
I also finished the logic built around the mGoingToTarget member
(until then actually unused) to make it all work again.
At last, I also removed a now false comment
in the startWalking() function.
Reviewed-by: Erik Schilling
Diffstat (limited to 'src/utils/xml.cpp')
0 files changed, 0 insertions, 0 deletions