diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-01-18 18:10:26 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2012-01-18 22:40:43 +0100 |
commit | 4159ba015c5f2035d188367d85d85052a7673cdc (patch) | |
tree | 1776e43ef3708dc094f747e64720dd41f1fa1f5b /src/net/tmwa/charserverhandler.cpp | |
parent | e554d9b2be1ec2fcb15065ae70151302adeef602 (diff) | |
download | mana-4159ba015c5f2035d188367d85d85052a7673cdc.tar.gz mana-4159ba015c5f2035d188367d85d85052a7673cdc.tar.bz2 mana-4159ba015c5f2035d188367d85d85052a7673cdc.tar.xz mana-4159ba015c5f2035d188367d85d85052a7673cdc.zip |
ColorDB -> HairDB.
This will ease the reading of the next patch about hair handling
at character creation time in tAthena.
As requested by bjorn.
Reviewed-by: bjorn
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index 83682efe..f90537ec 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -38,7 +38,7 @@ #include "net/tmwa/network.h" #include "net/tmwa/protocol.h" -#include "resources/colordb.h" +#include "resources/hairdb.h" #include "utils/dtor.h" #include "utils/gettext.h" @@ -240,7 +240,7 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg, Net::Character *char tempPlayer->setSprite(SPRITE_SHIELD, msg.readInt16()); tempPlayer->setSprite(SPRITE_HAT, msg.readInt16()); // head option top tempPlayer->setSprite(SPRITE_TOPCLOTHES, msg.readInt16()); // head option mid - tempPlayer->setSprite(SPRITE_HAIR, hairStyle * -1, ColorDB::get(msg.readInt16())); + tempPlayer->setSprite(SPRITE_HAIR, hairStyle * -1, HairDB::get(msg.readInt16())); tempPlayer->setSprite(SPRITE_MISC2, msg.readInt16()); tempPlayer->setName(msg.readString(24)); |