From 8701ef562248fb480b83b5b94fe6a970dc112e3d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jan 2017 23:38:04 +0300 Subject: Remove support for hercules plugin version 6. --- src/net/eathena/charserverrecv.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/net/eathena/charserverrecv.cpp') 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); -- cgit v1.2.3-70-g09d2