diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-06-07 21:23:20 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-06-17 14:29:59 +0200 |
commit | faf0a45d6b8b85acd2836cf5e8e7f7c5b161931d (patch) | |
tree | 9a98a66fff1529af26823566edfdc7c271d88564 /src/localplayer.h | |
parent | a387dc5d5230af3a9d0d784b946de7fd05a14416 (diff) | |
download | mana-faf0a45d6b8b85acd2836cf5e8e7f7c5b161931d.tar.gz mana-faf0a45d6b8b85acd2836cf5e8e7f7c5b161931d.tar.bz2 mana-faf0a45d6b8b85acd2836cf5e8e7f7c5b161931d.tar.xz mana-faf0a45d6b8b85acd2836cf5e8e7f7c5b161931d.zip |
Made the client officially handle attack ids.
It already was, but now the the api is clear about it.
Client part of the mana issue: #363.
Reviewed-by: Bjorn.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index b906ec53..ab309d8f 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -76,7 +76,7 @@ class LocalPlayer : public Being virtual void logic(); - virtual void setAction(Action action, int attackType = 0); + virtual void setAction(Action action, int attackId = 1); /** * Compute the next pathnode location when walking using keyboard. |