diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-13 15:20:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-13 15:20:38 +0300 |
commit | 2851324a6847efa7ea6f556941b369e9e304dc23 (patch) | |
tree | c91a10d3b4206f890ef562b481a2a4abd6ea16f0 | |
parent | e90a8185e01bfd631dc963b12906674a072fd570 (diff) | |
download | manaverse-2851324a6847efa7ea6f556941b369e9e304dc23.tar.gz manaverse-2851324a6847efa7ea6f556941b369e9e304dc23.tar.bz2 manaverse-2851324a6847efa7ea6f556941b369e9e304dc23.tar.xz manaverse-2851324a6847efa7ea6f556941b369e9e304dc23.zip |
in reorder and replace sprites add more priority into hiding sprites over replacment.
-rw-r--r-- | src/being/being.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 0f47011c1..75a7b0bb9 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -2531,7 +2531,7 @@ void Being::recalcSpritesOrder() { mSpriteHide[remSprite] = 1; } - else + else if (mSpriteHide[remSprite] != 1) { std::map<int, int>::const_iterator repIt = itemReplacer.find(mSpriteIDs[remSprite]); |