summaryrefslogtreecommitdiff
path: root/src/resources/npcdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-18 12:41:59 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-18 12:41:59 +0300
commite714f084284e14ff8a338d68c15088ab7662a42f (patch)
tree5bf1e5e5888898088063b4aa9fff42baa8bb6ccb /src/resources/npcdb.cpp
parenta7f558d18bb10042a27be503c329167a856b8a80 (diff)
downloadmanaverse-e714f084284e14ff8a338d68c15088ab7662a42f.tar.gz
manaverse-e714f084284e14ff8a338d68c15088ab7662a42f.tar.bz2
manaverse-e714f084284e14ff8a338d68c15088ab7662a42f.tar.xz
manaverse-e714f084284e14ff8a338d68c15088ab7662a42f.zip
Enable some features for tmw like servers.
Now this features enabled because ManaPlus supported on this servers. Enabled features: race sprites draw npc option for not allow select npc map layer properties.
Diffstat (limited to 'src/resources/npcdb.cpp')
-rw-r--r--src/resources/npcdb.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/resources/npcdb.cpp b/src/resources/npcdb.cpp
index 9831da06b..6e94bb3c3 100644
--- a/src/resources/npcdb.cpp
+++ b/src/resources/npcdb.cpp
@@ -71,11 +71,8 @@ void NPCDB::load()
BeingInfo *const currentInfo = new BeingInfo;
- if (serverVersion > 0)
- {
- currentInfo->setTargetSelection(XML::getProperty(
- npcNode, "targetSelection", true));
- }
+ currentInfo->setTargetSelection(XML::getProperty(npcNode,
+ "targetSelection", true));
currentInfo->setTargetCursorSize(XML::getProperty(npcNode,
"targetCursor", "medium"));