summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-06-07 21:23:20 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-06-17 14:29:59 +0200
commitfaf0a45d6b8b85acd2836cf5e8e7f7c5b161931d (patch)
tree9a98a66fff1529af26823566edfdc7c271d88564 /src/being.h
parenta387dc5d5230af3a9d0d784b946de7fd05a14416 (diff)
downloadmana-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/being.h')
-rw-r--r--src/being.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h
index 895506e8..a2a78bfd 100644
--- a/src/being.h
+++ b/src/being.h
@@ -341,7 +341,7 @@ class Being : public ActorSprite, public EventListener
/**
* Sets the current action.
*/
- virtual void setAction(Action action, int attackType = 0);
+ virtual void setAction(Action action, int attackId = 1);
/**
* Get the being's action currently performed.