summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-28 18:48:09 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-28 18:48:09 +0300
commit36f19b67df5ba7b00e91d9a234088f276b8bf513 (patch)
treee6bcba65ee03e34bcb0b7566090e17798cf182ce /src/localplayer.h
parent39c0baaad44c49c41ac9311bcf39c2844a49e921 (diff)
downloadmv-36f19b67df5ba7b00e91d9a234088f276b8bf513.tar.gz
mv-36f19b67df5ba7b00e91d9a234088f276b8bf513.tar.bz2
mv-36f19b67df5ba7b00e91d9a234088f276b8bf513.tar.xz
mv-36f19b67df5ba7b00e91d9a234088f276b8bf513.zip
Add untarget key. By default unassigned.
It remove targeting but not stop server side attack.
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 278598d58..bbd17f53c 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -152,6 +152,8 @@ class LocalPlayer : public Being, public ActorSpriteListener,
void stopAttack();
+ void untarget();
+
/**
* Returns the current target of the player. Returns 0 if no being is
* currently targeted.