summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 18:18:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 18:18:18 +0300
commite03f294796e1cd8d49d00fd86dc33959948924c7 (patch)
treeaea8504dd7e510c8669cffd18f8c4200f8473470 /src/net/eathena/charserverrecv.cpp
parent025e9b12601079e7aeaaaa25225e9dadc376240a (diff)
downloadmanaverse-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.gz
manaverse-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.bz2
manaverse-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.xz
manaverse-e03f294796e1cd8d49d00fd86dc33959948924c7.zip
Remove default value from parameter cards in Being->setSprite.
Diffstat (limited to 'src/net/eathena/charserverrecv.cpp')
-rw-r--r--src/net/eathena/charserverrecv.cpp33
1 files changed, 22 insertions, 11 deletions
diff --git a/src/net/eathena/charserverrecv.cpp b/src/net/eathena/charserverrecv.cpp
index 817d21da6..4add9c820 100644
--- a/src/net/eathena/charserverrecv.cpp
+++ b/src/net/eathena/charserverrecv.cpp
@@ -134,7 +134,8 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg,
"",
ItemColor_one,
IsWeapon_true,
- IsTempSprite_false);
+ IsTempSprite_false,
+ nullptr);
data.mAttributes[Attributes::LEVEL] = msg.readInt16("level");
@@ -153,7 +154,8 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg,
std::string(),
ItemColor_one,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ nullptr);
}
else
{
@@ -163,7 +165,8 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg,
color),
ItemColor_one,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ nullptr);
}
const uint16_t look = msg.readInt16("clothes color");
@@ -197,49 +200,57 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg,
std::string(),
ItemColor_one,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ nullptr);
tempPlayer->setSprite(SPRITE_SHOES,
gloves,
std::string(),
ItemColor_one,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ nullptr);
tempPlayer->setSprite(SPRITE_SHIELD,
cape,
std::string(),
ItemColor_one,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ nullptr);
tempPlayer->setSprite(SPRITE_HEAD_TOP,
misc1,
std::string(),
ItemColor_one,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ nullptr);
tempPlayer->setSprite(SPRITE_WEAPON,
bottomClothes,
std::string(),
ItemColor_one,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ nullptr);
tempPlayer->setSprite(SPRITE_FLOOR,
shield,
std::string(),
ItemColor_one,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ nullptr);
tempPlayer->setSprite(SPRITE_CLOTHES_COLOR,
hat,
std::string(),
ItemColor_one,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ nullptr);
tempPlayer->setSprite(SPRITE_HEAD_BOTTOM,
topClothes,
std::string(),
ItemColor_one,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ nullptr);
// tempPlayer->setSprite(SPRITE_HEAD_MID, misc2);
}
if (packetVersion >= 20110928)