summaryrefslogtreecommitdiff
path: root/src/net/manaserv/beinghandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-24 14:43:14 -0700
committerJared Adams <jaxad0127@gmail.com>2010-01-24 14:43:14 -0700
commit3730a6028626cfcdab9bd98aecfeadf6c884b505 (patch)
treef78d37fae95f74625a745f5e551c40ae337976d9 /src/net/manaserv/beinghandler.cpp
parent889108ea9a75a0591cac7efb49bac65629b6fb86 (diff)
downloadmana-client-3730a6028626cfcdab9bd98aecfeadf6c884b505.tar.gz
mana-client-3730a6028626cfcdab9bd98aecfeadf6c884b505.tar.bz2
mana-client-3730a6028626cfcdab9bd98aecfeadf6c884b505.tar.xz
mana-client-3730a6028626cfcdab9bd98aecfeadf6c884b505.zip
Remove some more _SUPPORT ifdefs
Diffstat (limited to 'src/net/manaserv/beinghandler.cpp')
-rw-r--r--src/net/manaserv/beinghandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/manaserv/beinghandler.cpp b/src/net/manaserv/beinghandler.cpp
index 585f0823..2db76255 100644
--- a/src/net/manaserv/beinghandler.cpp
+++ b/src/net/manaserv/beinghandler.cpp
@@ -96,8 +96,8 @@ static void handleLooks(Player *being, Net::MessageIn &msg)
// Order of sent slots. Has to be in sync with the server code.
static int const nb_slots = 4;
static int const slots[nb_slots] =
- { Player::WEAPON_SPRITE, Player::HAT_SPRITE, Player::TOPCLOTHES_SPRITE,
- Player::BOTTOMCLOTHES_SPRITE };
+ { SPRITE_WEAPON, SPRITE_HAT, SPRITE_TOPCLOTHES,
+ SPRITE_BOTTOMCLOTHES };
int mask = msg.readInt8();
@@ -145,7 +145,7 @@ void BeingHandler::handleBeingEnterMessage(Net::MessageIn &msg)
}
Player *p = static_cast< Player * >(being);
int hs = msg.readInt8(), hc = msg.readInt8();
- p->setSprite(Player::HAIR_SPRITE, hs * -1, ColorDB::get(hc));
+ p->setSprite(SPRITE_HAIR, hs * -1, ColorDB::get(hc));
p->setGender(msg.readInt8() == GENDER_MALE ?
GENDER_MALE : GENDER_FEMALE);
handleLooks(p, msg);
@@ -302,7 +302,7 @@ void BeingHandler::handleBeingLooksChangeMessage(Net::MessageIn &msg)
{
int style = msg.readInt16();
int color = msg.readInt16();
- player->setSprite(Player::HAIR_SPRITE, style * -1, ColorDB::get(color));
+ player->setSprite(SPRITE_HAIR, style * -1, ColorDB::get(color));
}
}