From e714f084284e14ff8a338d68c15088ab7662a42f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Feb 2013 12:41:59 +0300 Subject: 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. --- src/resources/iteminfo.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/resources/iteminfo.cpp') diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp index 4b9873a3e..8033ada7b 100644 --- a/src/resources/iteminfo.cpp +++ b/src/resources/iteminfo.cpp @@ -89,12 +89,9 @@ const std::string &ItemInfo::getSprite(const Gender gender, if (i != mAnimationFiles.end()) return i->second; - if (serverVersion > 0) - { - i = mAnimationFiles.find(static_cast(gender)); - if (i != mAnimationFiles.end()) - return i->second; - } + i = mAnimationFiles.find(static_cast(gender)); + if (i != mAnimationFiles.end()) + return i->second; return empty; } } -- cgit v1.2.3-70-g09d2