summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 89fc9bfd1..914462892 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -3242,10 +3242,7 @@ void Being::setSpriteColor(const unsigned int slot,
const int id = beingSlot.spriteId;
// id = 0 means unequip
- if (id == 0)
- {
- }
- else
+ if (id != 0)
{
const ItemInfo &info = ItemDB::get(id);
const std::string &restrict filename = info.getSprite(