summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 16:44:29 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 16:44:29 +0300
commit326318d644c91f785e98a5b36fe350a95fdd5760 (patch)
treec6c50d562f1a42a715810c18aafc69138442df8d /src/net/eathena/charserverrecv.cpp
parent8ac687d770f3a8f13f9e0a50909b435933c86f6b (diff)
downloadmanaplus-326318d644c91f785e98a5b36fe350a95fdd5760.tar.gz
manaplus-326318d644c91f785e98a5b36fe350a95fdd5760.tar.bz2
manaplus-326318d644c91f785e98a5b36fe350a95fdd5760.tar.xz
manaplus-326318d644c91f785e98a5b36fe350a95fdd5760.zip
Remove default value from parameter color in Being->setSprite.
Diffstat (limited to 'src/net/eathena/charserverrecv.cpp')
-rw-r--r--src/net/eathena/charserverrecv.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/net/eathena/charserverrecv.cpp b/src/net/eathena/charserverrecv.cpp
index 598602355..0b3e5b82d 100644
--- a/src/net/eathena/charserverrecv.cpp
+++ b/src/net/eathena/charserverrecv.cpp
@@ -182,14 +182,14 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg,
shoes = msg.readInt32("robe");
if (!serverFeatures->haveAdvancedSprites())
{
- tempPlayer->setSprite(SPRITE_HAIR, shoes);
- tempPlayer->setSprite(SPRITE_SHOES, gloves);
- tempPlayer->setSprite(SPRITE_SHIELD, cape);
- tempPlayer->setSprite(SPRITE_HEAD_TOP, misc1);
- tempPlayer->setSprite(SPRITE_WEAPON, bottomClothes);
- tempPlayer->setSprite(SPRITE_FLOOR, shield);
- tempPlayer->setSprite(SPRITE_CLOTHES_COLOR, hat);
- tempPlayer->setSprite(SPRITE_HEAD_BOTTOM, topClothes);
+ tempPlayer->setSprite(SPRITE_HAIR, shoes, std::string());
+ tempPlayer->setSprite(SPRITE_SHOES, gloves, std::string());
+ tempPlayer->setSprite(SPRITE_SHIELD, cape, std::string());
+ tempPlayer->setSprite(SPRITE_HEAD_TOP, misc1, std::string());
+ tempPlayer->setSprite(SPRITE_WEAPON, bottomClothes, std::string());
+ tempPlayer->setSprite(SPRITE_FLOOR, shield, std::string());
+ tempPlayer->setSprite(SPRITE_CLOTHES_COLOR, hat, std::string());
+ tempPlayer->setSprite(SPRITE_HEAD_BOTTOM, topClothes, std::string());
// tempPlayer->setSprite(SPRITE_HEAD_MID, misc2);
}
if (packetVersion >= 20110928)