From d8fca9f196ad59be5b211325ac2d70e29379e825 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 Oct 2012 23:39:39 +0300 Subject: Fix default particle effects in attacks. Was broken in previous commits. Also add default value for "effectId" in paths.xml (by default -1) --- src/being.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being.h') 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. -- cgit v1.2.3-60-g2f50