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.cpp | |
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.cpp')
-rw-r--r-- | src/localplayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index a1914c78..a375da92 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -173,7 +173,7 @@ void LocalPlayer::logic() Being::logic(); } -void LocalPlayer::setAction(Action action, int attackType) +void LocalPlayer::setAction(Action action, int attackId) { if (action == DEAD) { @@ -181,7 +181,7 @@ void LocalPlayer::setAction(Action action, int attackType) setTarget(NULL); } - Being::setAction(action, attackType); + Being::setAction(action, attackId); } void LocalPlayer::setGMLevel(int level) |