From 93f7e4f666dc1e1d9bf9715307080bd9c3027109 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 4 Dec 2014 11:50:47 +0300 Subject: Give correct names to eathena/tmwa sprites. --- src/net/ea/charserverhandler.cpp | 2 +- src/net/ea/eaprotocol.h | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp index 8c400852b..d117df553 100644 --- a/src/net/ea/charserverhandler.cpp +++ b/src/net/ea/charserverhandler.cpp @@ -69,7 +69,7 @@ unsigned int CharServerHandler::baseSprite() const unsigned int CharServerHandler::hairSprite() const { - return EA_SPRITE_HAIR; + return EA_SPRITE_HAIR_COLOR; } unsigned int CharServerHandler::maxSprite() const diff --git a/src/net/ea/eaprotocol.h b/src/net/ea/eaprotocol.h index 89d8dd791..00370e141 100644 --- a/src/net/ea/eaprotocol.h +++ b/src/net/ea/eaprotocol.h @@ -76,18 +76,18 @@ namespace Ea enum { EA_SPRITE_BASE = 0, - EA_SPRITE_SHOE, - EA_SPRITE_BOTTOMCLOTHES, - EA_SPRITE_TOPCLOTHES, - EA_SPRITE_MISC1, - EA_SPRITE_MISC2, EA_SPRITE_HAIR, - EA_SPRITE_HAT, - EA_SPRITE_CAPE, - EA_SPRITE_GLOVES, EA_SPRITE_WEAPON, + EA_SPRITE_HEAD_BOTTOM, + EA_SPRITE_HEAD_TOP, + EA_SPRITE_HEAD_MID, + EA_SPRITE_HAIR_COLOR, + EA_SPRITE_CLOTHES_COLOR, EA_SPRITE_SHIELD, - EA_SPRITE_EVOL1, + EA_SPRITE_SHOES, + EA_SPRITE_BODY, + EA_SPRITE_FLOOR, + EA_SPRITE_ROBE, EA_SPRITE_EVOL2, EA_SPRITE_EVOL3, EA_SPRITE_EVOL4, -- cgit v1.2.3-70-g09d2