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 aa956389d..e0186e6d3 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2520,8 +2520,14 @@ void Being::setSprite(const unsigned int slot,
}
if (equipmentSprite)
+ {
equipmentSprite->setSpriteDirection(getSpriteDirection());
+ // call reset here is not the best idea, but for now this is
+ // only way to sync just loaded sprite
+ reset();
+ }
+
CompoundSprite::setSprite(slot, equipmentSprite);
mSpriteDraw[slot] = id;