diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:53:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:53:09 +0300 |
commit | 237449794444d60ecc4a669d78becac5372da723 (patch) | |
tree | 694f439d43e303065220df02ec5a1df9ea5b57fe /src/net/tmwa/charserverhandler.cpp | |
parent | 2c13c60e916768fe09bcfff1d0b568a4c5397a99 (diff) | |
download | plus-237449794444d60ecc4a669d78becac5372da723.tar.gz plus-237449794444d60ecc4a669d78becac5372da723.tar.bz2 plus-237449794444d60ecc4a669d78becac5372da723.tar.xz plus-237449794444d60ecc4a669d78becac5372da723.zip |
Fix code style in net.
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 a245372c5..c4fc9001c 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -157,9 +157,9 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg, data.mAttributes[PlayerInfo::MAX_MP] = msg.readInt16(); msg.readInt16(); // speed - const int race = msg.readInt16(); // class (used for race) + const uint16_t race = msg.readInt16(); // class (used for race) const int hairStyle = msg.readInt8(); - const int look = msg.readInt8(); + const uint8_t look = msg.readInt8(); tempPlayer->setSubtype(race, look); const uint16_t weapon = msg.readInt16(); // unused on server. need use? tempPlayer->setSprite(SPRITE_WEAPON, weapon, "", 1, true); |