summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-06 01:26:03 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-06 01:26:03 +0300
commit26398fe3614fac2f362a04e080635a1a0bdf9d0b (patch)
treef98ad19b4abe38782737108db52d85f905452742 /src/being.cpp
parent64a14cb9d04c4cf0ea5a2ff5b09578c86335086b (diff)
downloadManaVerse-26398fe3614fac2f362a04e080635a1a0bdf9d0b.tar.gz
ManaVerse-26398fe3614fac2f362a04e080635a1a0bdf9d0b.tar.bz2
ManaVerse-26398fe3614fac2f362a04e080635a1a0bdf9d0b.tar.xz
ManaVerse-26398fe3614fac2f362a04e080635a1a0bdf9d0b.zip
Fix sprites reorder feature if reorders sprites disabled in settings.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
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