summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-05 23:39:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-06 00:33:02 +0300
commitd8fca9f196ad59be5b211325ac2d70e29379e825 (patch)
treebb65fde6f734283be151b5d21c771f425d84ef3e /src/being.h
parent69b5220d914fb3b874622dcbf8e0fbd4fd73d1f7 (diff)
downloadmv-d8fca9f196ad59be5b211325ac2d70e29379e825.tar.gz
mv-d8fca9f196ad59be5b211325ac2d70e29379e825.tar.bz2
mv-d8fca9f196ad59be5b211325ac2d70e29379e825.tar.xz
mv-d8fca9f196ad59be5b211325ac2d70e29379e825.zip
Fix default particle effects in attacks.
Was broken in previous commits. Also add default value for "effectId" in paths.xml (by default -1)
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 a3535afc2..379e7a179 100644
--- a/src/being.h
+++ b/src/being.h
@@ -258,7 +258,7 @@ class Being : public ActorSprite, public ConfigListener
* @param id skill id
*/
void takeDamage(Being *const attacker, const int damage,
- const AttackType type, const int attackId = 0);
+ const AttackType type, const int attackId = 1);
/**
* Handles an attack of another being by this being.