summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-15 22:21:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-15 22:21:48 +0300
commit665e33246a82838dc8893e6b84a576de803a3195 (patch)
treeb1ec97a1295a0e493284c5538c7e255fde715817 /src/resources/iteminfo.h
parent890b38d266e9e90d85b04908fe733bddafd8fe8b (diff)
downloadplus-665e33246a82838dc8893e6b84a576de803a3195.tar.gz
plus-665e33246a82838dc8893e6b84a576de803a3195.tar.bz2
plus-665e33246a82838dc8893e6b84a576de803a3195.tar.xz
plus-665e33246a82838dc8893e6b84a576de803a3195.zip
improve iteminfo class.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index 380624b7b..e5b6f96b8 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -178,7 +178,7 @@ class ItemInfo final
const std::string &getSprite(const Gender gender,
const int race) const A_WARN_UNUSED;
- void setAttackAction(std::string attackAction);
+ void setAttackAction(const std::string &attackAction);
// Handlers for seting and getting the string
// used for particles when attacking
@@ -275,7 +275,7 @@ class ItemInfo final
std::string getDyeColorsString(const int color) const A_WARN_UNUSED;
- void setColorsList(std::string name);
+ void setColorsList(const std::string &name);
bool isHaveColors() const A_WARN_UNUSED
{ return !mColorList.empty(); }