summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-13 15:20:38 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-13 15:20:38 +0300
commit2851324a6847efa7ea6f556941b369e9e304dc23 (patch)
treec91a10d3b4206f890ef562b481a2a4abd6ea16f0
parente90a8185e01bfd631dc963b12906674a072fd570 (diff)
downloadplus-2851324a6847efa7ea6f556941b369e9e304dc23.tar.gz
plus-2851324a6847efa7ea6f556941b369e9e304dc23.tar.bz2
plus-2851324a6847efa7ea6f556941b369e9e304dc23.tar.xz
plus-2851324a6847efa7ea6f556941b369e9e304dc23.zip
in reorder and replace sprites add more priority into hiding sprites over replacment.
-rw-r--r--src/being/being.cpp2
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]);