summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-29 20:12:49 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-29 20:12:49 +0300
commit35bea0b5c14601e4e6ef52890417d75cc1a1e28e (patch)
tree0ac03cdd85e68f39d5beb9545bf92113ef9fca46 /src/localplayer.h
parent739fd277e28120cd643ac443a013b482698427ba (diff)
downloadplus-35bea0b5c14601e4e6ef52890417d75cc1a1e28e.tar.gz
plus-35bea0b5c14601e4e6ef52890417d75cc1a1e28e.tar.bz2
plus-35bea0b5c14601e4e6ef52890417d75cc1a1e28e.tar.xz
plus-35bea0b5c14601e4e6ef52890417d75cc1a1e28e.zip
Fix move to target in attack range.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index bbd17f53c..447306994 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -139,6 +139,8 @@ class LocalPlayer : public Being, public ActorSpriteListener,
*/
int getAttackRange();
+ int getAttackRange2();
+
void attack(Being *target = NULL, bool keep = false,
bool dontChangeEquipment = false);