diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-18 18:40:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-18 18:40:59 +0300 |
commit | 31cce4c22b369148f77d7092903af9462d8151c8 (patch) | |
tree | bd11e598db5ff6e17d3f0b283c44e333ac37d696 /src/net/tmwa/charserverhandler.cpp | |
parent | e6afa441a57718205c1f62bcbc0a5443fd513aa3 (diff) | |
download | plus-31cce4c22b369148f77d7092903af9462d8151c8.tar.gz plus-31cce4c22b369148f77d7092903af9462d8151c8.tar.bz2 plus-31cce4c22b369148f77d7092903af9462d8151c8.tar.xz plus-31cce4c22b369148f77d7092903af9462d8151c8.zip |
Fix code style.
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index 67fff4029..c01ec4666 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -178,7 +178,7 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg, const int hat = msg.readInt16(); // head option top const int topClothes = msg.readInt16(); - uint8_t hairColor = msg.readUInt8(); + const uint8_t hairColor = msg.readUInt8(); msg.readUInt8(); // free tempPlayer->setSprite(SPRITE_HAIR, hairStyle * -1, ItemDB::get(-hairStyle).getDyeColorsString(hairColor)); |