diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-01 15:14:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-01 23:42:37 +0300 |
commit | f9030497b6196ce2fadb6b6ada5d784be227d9a6 (patch) | |
tree | d11408b35d0860709d31e6520578cdd28391f151 /src/resources/beinginfo.h | |
parent | f52ca7838789a6910840597a929ecf6e0be9e1de (diff) | |
download | manaverse-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.gz manaverse-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.bz2 manaverse-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.xz manaverse-f9030497b6196ce2fadb6b6ada5d784be227d9a6.zip |
Add missing const.
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r-- | src/resources/beinginfo.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index 31725d218..81a1f749d 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -117,9 +117,13 @@ class BeingInfo final const SoundInfo &getSound(const ItemSoundEvent event) const A_WARN_UNUSED; - void addAttack(const int id, std::string action, std::string skyAttack, - std::string waterAttack, const int effectId, - const int hitEffectId, const int criticalHitEffectId, + void addAttack(const int id, + const std::string &action, + const std::string &skyAttack, + const std::string &waterAttack, + const int effectId, + const int hitEffectId, + const int criticalHitEffectId, const int missEffectId, const std::string &missileParticle); |