summaryrefslogtreecommitdiff
path: root/src/net/eathena/beingrecv.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/beingrecv.cpp
parent025e9b12601079e7aeaaaa25225e9dadc376240a (diff)
downloadplus-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.gz
plus-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.bz2
plus-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.xz
plus-e03f294796e1cd8d49d00fd86dc33959948924c7.zip
Remove default value from parameter cards in Being->setSprite.
Diffstat (limited to 'src/net/eathena/beingrecv.cpp')
-rw-r--r--src/net/eathena/beingrecv.cpp51
1 files changed, 34 insertions, 17 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 93fad8f4d..0c673be9f 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -165,13 +165,15 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
"",
itemColor,
IsWeapon_true,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
dstBeing->setSprite(SPRITE_FLOOR,
id2,
std::string(),
ItemColor_one,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ nullptr);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_FLOOR);
break;
@@ -181,7 +183,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_WEAPON);
break;
@@ -191,7 +194,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_CLOTHES_COLOR);
break;
@@ -202,7 +206,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_HEAD_BOTTOM);
break;
@@ -222,7 +227,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_FLOOR);
break;
@@ -232,7 +238,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_HAIR);
break;
@@ -242,7 +249,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_SHOES);
break;
@@ -252,7 +260,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_SHIELD);
break;
@@ -262,7 +271,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_HEAD_TOP);
break;
@@ -272,7 +282,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_HEAD_MID);
break;
@@ -282,7 +293,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_ROBE);
break;
@@ -292,7 +304,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL2);
break;
@@ -302,7 +315,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL3);
break;
@@ -312,7 +326,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL4);
break;
@@ -322,7 +337,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL5);
break;
@@ -332,7 +348,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
color,
itemColor,
IsWeapon_false,
- IsTempSprite_false);
+ IsTempSprite_false,
+ cards);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL6);
break;