diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-06 01:26:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-06 01:26:03 +0300 |
commit | 26398fe3614fac2f362a04e080635a1a0bdf9d0b (patch) | |
tree | f98ad19b4abe38782737108db52d85f905452742 | |
parent | 64a14cb9d04c4cf0ea5a2ff5b09578c86335086b (diff) | |
download | plus-26398fe3614fac2f362a04e080635a1a0bdf9d0b.tar.gz plus-26398fe3614fac2f362a04e080635a1a0bdf9d0b.tar.bz2 plus-26398fe3614fac2f362a04e080635a1a0bdf9d0b.tar.xz plus-26398fe3614fac2f362a04e080635a1a0bdf9d0b.zip |
Fix sprites reorder feature if reorders sprites disabled in settings.
-rw-r--r-- | src/being.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp index b4c97f15d..5a4bcd737 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -275,6 +275,8 @@ Being::Being(int id, Type type, Uint16 subtype, Map *map): config.addListener("visiblenames", this); + mEnableReorderSprites = config.getBoolValue("enableReorderSprites"); + if (mType == NPC) setShowName(true); else |