From e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Apr 2013 19:22:02 +0300 Subject: fix more style, add consts. --- src/being.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being.h') diff --git a/src/being.h b/src/being.h index 43bb3b188..02d3db68e 100644 --- a/src/being.h +++ b/src/being.h @@ -275,7 +275,7 @@ class Being : public ActorSprite, public ConfigListener * @param damage the amount of damage dealt (0 means miss) * @param type the attack type */ - virtual void handleAttack(Being *const victim, const int damage, + void handleAttack(Being *const victim, const int damage, const int attackId = 1); virtual void handleSkill(Being *const victim, const int damage, @@ -373,7 +373,7 @@ class Being : public ActorSprite, public ConfigListener void updateGuild(); - Party *getParty() const + Party *getParty() const A_WARN_UNUSED { return mParty; } int getSpritesCount() const A_WARN_UNUSED -- cgit v1.2.3-70-g09d2