summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/being.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp
index f1310762c..2b1e88967 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -1927,8 +1927,11 @@ void Being::recalcSpritesOrder()
if (repIt != itemReplacer.end())
{
mSpriteHide[removeSprite] = repIt->second;
- setSprite(removeSprite, repIt->second,
- mSpriteColors[removeSprite], false, true);
+ if (repIt->second != 1)
+ {
+ setSprite(removeSprite, repIt->second,
+ mSpriteColors[removeSprite], false, true);
+ }
}
}
}