diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-07 19:22:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-07 21:38:21 +0300 |
commit | e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa (patch) | |
tree | f7fa5a490a99cd4c08d051f44154d5d0e4d26222 /src/being.h | |
parent | ffeffa2314dbe03e0ced58e0c465760b54908690 (diff) | |
download | plus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.gz plus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.bz2 plus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.xz plus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.zip |
fix more style, add consts.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |