summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-17 23:38:04 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-17 23:38:04 +0300
commit8701ef562248fb480b83b5b94fe6a970dc112e3d (patch)
treeeb8f951dcb6c728bfc64caca852793cfd9701c18 /src/net/eathena/charserverrecv.cpp
parentaaec42df1ea3fbc8ef8cac43c8d0661c633a61c6 (diff)
downloadmanaverse-8701ef562248fb480b83b5b94fe6a970dc112e3d.tar.gz
manaverse-8701ef562248fb480b83b5b94fe6a970dc112e3d.tar.bz2
manaverse-8701ef562248fb480b83b5b94fe6a970dc112e3d.tar.xz
manaverse-8701ef562248fb480b83b5b94fe6a970dc112e3d.zip
Remove support for hercules plugin version 6.
Diffstat (limited to 'src/net/eathena/charserverrecv.cpp')
-rw-r--r--src/net/eathena/charserverrecv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/charserverrecv.cpp b/src/net/eathena/charserverrecv.cpp
index 5d7b9e9d4..0c551a0bc 100644
--- a/src/net/eathena/charserverrecv.cpp
+++ b/src/net/eathena/charserverrecv.cpp
@@ -57,6 +57,7 @@
extern Net::CharServerHandler *charServerHandler;
extern int packetVersion;
+extern int serverVersion;
namespace EAthena
{
@@ -179,7 +180,7 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg,
int shoes = 0;
if (packetVersion >= 20110111)
shoes = msg.readInt32("robe");
- if (!serverFeatures->haveAdvancedSprites())
+ if (serverVersion == 0)
{
tempPlayer->setSpriteId(SPRITE_HAIR,
shoes);