summaryrefslogtreecommitdiff
path: root/src/net/charserverhandler.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2006-12-01 16:54:19 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2006-12-01 16:54:19 +0000
commitab431cdfab6e1842ff357c7f380cc74142601912 (patch)
treec10b04d93a14cfd1cfee98db562c5b6b00d9a2b9 /src/net/charserverhandler.cpp
parent30aa32025d3406920330390b97001ade27e4343a (diff)
downloadmana-client-ab431cdfab6e1842ff357c7f380cc74142601912.tar.gz
mana-client-ab431cdfab6e1842ff357c7f380cc74142601912.tar.bz2
mana-client-ab431cdfab6e1842ff357c7f380cc74142601912.tar.xz
mana-client-ab431cdfab6e1842ff357c7f380cc74142601912.zip
Monster sound effect patch
Diffstat (limited to 'src/net/charserverhandler.cpp')
-rw-r--r--src/net/charserverhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp
index 06ec78c1..64b7f8cd 100644
--- a/src/net/charserverhandler.cpp
+++ b/src/net/charserverhandler.cpp
@@ -191,10 +191,10 @@ LocalPlayer* CharServerHandler::readPlayerData(MessageIn *msg, int &slot)
tempPlayer->setWeapon(weapon);
tempPlayer->mLevel = msg->readInt16();
msg->readInt16(); // skill point
- tempPlayer->setVisibleEquipment(3, msg->readInt16()); // head bottom
+ tempPlayer->setVisibleEquipment(Being::BOTTOMCLOTHES_SPRITE, msg->readInt16()); // head bottom
msg->readInt16(); // shield
- tempPlayer->setVisibleEquipment(4, msg->readInt16()); // head option top
- tempPlayer->setVisibleEquipment(5, msg->readInt16()); // head option mid
+ tempPlayer->setVisibleEquipment(Being::HAT_SPRITE, msg->readInt16()); // head option top
+ tempPlayer->setVisibleEquipment(Being::TOPCLOTHES_SPRITE, msg->readInt16()); // head option mid
tempPlayer->setHairColor(msg->readInt16());
msg->readInt16(); // unknown
tempPlayer->setName(msg->readString(24));