diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-04 16:27:43 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-04 16:27:43 +0200 |
commit | 47aa9bcf5eb537456abc393699c8fec07a4d5153 (patch) | |
tree | 453309d61789d8b27879abcc98c013cc7affd576 /src/net/tmwa/charserverhandler.cpp | |
parent | c3669ceb38114c68a6de11de46b0d3fd3713db59 (diff) | |
download | manaplus-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.gz manaplus-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.bz2 manaplus-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.xz manaplus-47aa9bcf5eb537456abc393699c8fec07a4d5153.zip |
Fix code style.
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index daf531f04..2265afb84 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -325,15 +325,18 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg, tempPlayer->setSprite(SPRITE_GLOVES, gloves, "", msg.readInt8()); tempPlayer->setSprite(SPRITE_CAPE, cape, "", msg.readInt8()); tempPlayer->setSprite(SPRITE_MISC1, misc1, "", msg.readInt8()); - tempPlayer->setSprite(SPRITE_BOTTOMCLOTHES, bottomClothes, "", msg.readInt8()); + tempPlayer->setSprite(SPRITE_BOTTOMCLOTHES, bottomClothes, + "", msg.readInt8()); //to avoid show error (error.xml) need remove this sprite if (!config.getBoolValue("hideShield")) tempPlayer->setSprite(SPRITE_SHIELD, shield, "", msg.readInt8()); else msg.readInt8(); - tempPlayer->setSprite(SPRITE_HAT, hat, "", msg.readInt8()); // head option top - tempPlayer->setSprite(SPRITE_TOPCLOTHES, topClothes, "", msg.readInt8()); + tempPlayer->setSprite(SPRITE_HAT, hat, "", + msg.readInt8()); // head option top + tempPlayer->setSprite(SPRITE_TOPCLOTHES, topClothes, "", + msg.readInt8()); tempPlayer->setSprite(SPRITE_MISC2, misc2, "", msg.readInt8()); msg.skip(5); character->slot = msg.readInt8(); // character slot |