From 5c4c66c0873e2b21d87929ab7e3389883c4ee074 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Jan 2018 05:45:52 +0300 Subject: Fix code style. --- src/being/being.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/being') 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"), -- cgit v1.2.3-70-g09d2