summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/charserverhandler.cpp4
-rw-r--r--src/net/eathena/charserverhandler.h2
2 files changed, 3 insertions, 3 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
{
diff --git a/src/net/eathena/charserverhandler.h b/src/net/eathena/charserverhandler.h
index a6384cbaa..0b424024a 100644
--- a/src/net/eathena/charserverhandler.h
+++ b/src/net/eathena/charserverhandler.h
@@ -51,7 +51,7 @@ class CharServerHandler final : public MessageHandler,
const int hairstyle,
const int hairColor,
const unsigned char race,
- const unsigned char look,
+ const uint16_t look,
const std::vector<int> &stats) const override final;
void renameCharacter(const int id,