summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r--src/resources/iteminfo.cpp9
1 files changed, 3 insertions, 6 deletions
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<int>(gender));
- if (i != mAnimationFiles.end())
- return i->second;
- }
+ i = mAnimationFiles.find(static_cast<int>(gender));
+ if (i != mAnimationFiles.end())
+ return i->second;
return empty;
}
}