summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r--src/net/eathena/charserverhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 21306b659..8decf9eef 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -219,7 +219,7 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg,
ItemDB::get(-hairStyle).getDyeColorsString(
msg.readInt16("hair color")));
- const uint8_t look = msg.readInt16("clothes color");
+ const uint16_t look = msg.readInt16("clothes color");
tempPlayer->setSubtype(race, look);
tempPlayer->setName(msg.readString(24, "name"));
@@ -273,7 +273,7 @@ void CharServerHandler::newCharacter(const std::string &name, const int slot,
const Gender::Type gender,
const int hairstyle, const int hairColor,
const unsigned char race,
- const unsigned char look,
+ const uint16_t look,
const std::vector<int> &stats A_UNUSED)
const
{