summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-16 05:45:52 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-16 05:45:52 +0300
commit5c4c66c0873e2b21d87929ab7e3389883c4ee074 (patch)
tree1c14043c6b4d6089e0f15006f902b4ef8697be26 /src/being/being.cpp
parent43abb22c0626529c8465f25bd62b813898abe840 (diff)
downloadplus-5c4c66c0873e2b21d87929ab7e3389883c4ee074.tar.gz
plus-5c4c66c0873e2b21d87929ab7e3389883c4ee074.tar.bz2
plus-5c4c66c0873e2b21d87929ab7e3389883c4ee074.tar.xz
plus-5c4c66c0873e2b21d87929ab7e3389883c4ee074.zip
Fix code style.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index c7c9e1769..da67becda 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -3062,8 +3062,7 @@ void Being::setSpriteCards(const unsigned int slot,
if (!filename.empty())
{
- if (color.empty())
- color = info.getDyeColorsString(colorId);
+ color = info.getDyeColorsString(colorId);
equipmentSprite = AnimatedSprite::delayedLoad(
pathJoin(paths.getStringValue("sprites"),