diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-20 20:15:34 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-20 20:17:07 +0200 |
commit | a1dbbdf1ca8560de8cff703d21c0063610261196 (patch) | |
tree | d986d59890ed32429e6413ab8eafcd7812b1d022 /src/localplayer.h | |
parent | 46137db9170963393f003e6ae275f200942a83d8 (diff) | |
download | mana-client-a1dbbdf1ca8560de8cff703d21c0063610261196.tar.gz mana-client-a1dbbdf1ca8560de8cff703d21c0063610261196.tar.bz2 mana-client-a1dbbdf1ca8560de8cff703d21c0063610261196.tar.xz mana-client-a1dbbdf1ca8560de8cff703d21c0063610261196.zip |
Drop current target on death
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index b7d39a4c..55e4e6f6 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -154,6 +154,8 @@ class LocalPlayer : public Player virtual void logic(); + virtual void setAction(Action action, int attackType = 0); + /** * Adds a new step when walking before calling super. Also, when * specified it picks up an item at the end of a path. @@ -286,7 +288,6 @@ class LocalPlayer : public Player */ Being* getTarget() const; - /** * Sets the target being of the player. */ |