summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/being/being.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index bacae584d..911951789 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -4187,6 +4187,12 @@ void Being::recalcSpritesOrder() restrict2
const unsigned int hairSlot = charServerHandler->hairSprite();
+ for (size_t slot = sz; slot < 20; slot ++)
+ {
+ oldHide[slot] = 0;
+ updatedSprite[slot] = false;
+ }
+
for (size_t slot = 0; slot < sz; slot ++)
{
oldHide[slot] = mSpriteHide[slot];