summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 19:22:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commite7d34cc22d3bfd0dd44b014af1bd5fdc891141aa (patch)
treef7fa5a490a99cd4c08d051f44154d5d0e4d26222 /src/being.h
parentffeffa2314dbe03e0ced58e0c465760b54908690 (diff)
downloadmanaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.gz
manaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.bz2
manaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.xz
manaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.zip
fix more style, add consts.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h4
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