diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-07-03 21:05:19 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-07-03 21:05:19 +0000 |
commit | e3a2cd1e6f685c921bd73e9cb1f0f8fcf0b6a939 (patch) | |
tree | 77afd116346f3e107c80c4126c8e44399ec24f11 /src/net | |
parent | 852626d562a6b40f37a25dc2784492ede80ee78b (diff) | |
download | mana-client-e3a2cd1e6f685c921bd73e9cb1f0f8fcf0b6a939.tar.gz mana-client-e3a2cd1e6f685c921bd73e9cb1f0f8fcf0b6a939.tar.bz2 mana-client-e3a2cd1e6f685c921bd73e9cb1f0f8fcf0b6a939.tar.xz mana-client-e3a2cd1e6f685c921bd73e9cb1f0f8fcf0b6a939.zip |
Fixed visible equipment initialization and hack to see 2 kinds of visible equipments.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/charserverhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp index 12813795..9857ddc0 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 - msg->readInt16(); // head bottom + tempPlayer->mVisibleEquipment[3] = msg->readInt16(); // head bottom msg->readInt16(); // shield - msg->readInt16(); // head option top - msg->readInt16(); // head option mid + tempPlayer->mVisibleEquipment[4] = msg->readInt16(); // head option top + tempPlayer->mVisibleEquipment[5] = msg->readInt16(); // head option mid tempPlayer->setHairColor(msg->readInt16()); msg->readInt16(); // unknown tempPlayer->setName(msg->readString(24)); |