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.cpp | |
parent | f52ca7838789a6910840597a929ecf6e0be9e1de (diff) | |
download | plus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.gz plus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.bz2 plus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.tar.xz plus-f9030497b6196ce2fadb6b6ada5d784be227d9a6.zip |
Add missing const.
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r-- | src/resources/beinginfo.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp index 8b76d7e2a..d7ecb8136 100644 --- a/src/resources/beinginfo.cpp +++ b/src/resources/beinginfo.cpp @@ -155,9 +155,12 @@ const Attack *BeingInfo::getAttack(const int id) const return (i == mAttacks.end()) ? empty : (*i).second; } -void BeingInfo::addAttack(const int id, std::string action, - std::string skyAction, std::string waterAction, - const int effectId, const int hitEffectId, +void BeingInfo::addAttack(const int id, + const std::string &action, + const std::string &skyAction, + const std::string &waterAction, + const int effectId, + const int hitEffectId, const int criticalHitEffectId, const int missEffectId, const std::string &missileParticle) |