summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-11 21:08:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-11 21:08:02 +0300
commitaef5053e87c93a8987f89e4fdaf6cf3dd23efe81 (patch)
tree1114d14958b13eba28a51e57722d6c4da0b9d2e7 /src/being/being.cpp
parenta50ecdf6045ba0f0d5e91d10ddeb8d5520ba55cb (diff)
downloadmanaverse-aef5053e87c93a8987f89e4fdaf6cf3dd23efe81.tar.gz
manaverse-aef5053e87c93a8987f89e4fdaf6cf3dd23efe81.tar.bz2
manaverse-aef5053e87c93a8987f89e4fdaf6cf3dd23efe81.tar.xz
manaverse-aef5053e87c93a8987f89e4fdaf6cf3dd23efe81.zip
fix code style.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 9f99a2ab8..621b61d02 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2003,7 +2003,7 @@ void Being::setSprite(const unsigned int slot, const int id,
else
{
const ItemInfo &info = ItemDB::get(id);
- const std::string filename = info.getSprite(mGender, mSubType);
+ const std::string &filename = info.getSprite(mGender, mSubType);
AnimatedSprite *equipmentSprite = nullptr;
if (!isTempSprite && mType == PLAYER)