diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-08 18:18:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-08 18:18:18 +0300 |
commit | e03f294796e1cd8d49d00fd86dc33959948924c7 (patch) | |
tree | aea8504dd7e510c8669cffd18f8c4200f8473470 /src/net/tmwa/beingrecv.cpp | |
parent | 025e9b12601079e7aeaaaa25225e9dadc376240a (diff) | |
download | mv-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.gz mv-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.bz2 mv-e03f294796e1cd8d49d00fd86dc33959948924c7.tar.xz mv-e03f294796e1cd8d49d00fd86dc33959948924c7.zip |
Remove default value from parameter cards in Being->setSprite.
Diffstat (limited to 'src/net/tmwa/beingrecv.cpp')
-rw-r--r-- | src/net/tmwa/beingrecv.cpp | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp index 9cc5090ac..57b295a8d 100644 --- a/src/net/tmwa/beingrecv.cpp +++ b/src/net/tmwa/beingrecv.cpp @@ -148,13 +148,15 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, "", ItemColor_one, IsWeapon_true, - IsTempSprite_false); + IsTempSprite_false, + nullptr); dstBeing->setSprite(SPRITE_FLOOR, id2, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); localPlayer->imitateOutfit(dstBeing, SPRITE_FLOOR); break; case 3: // Change lower headgear for eAthena, pants for us @@ -163,7 +165,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); localPlayer->imitateOutfit(dstBeing, SPRITE_WEAPON); break; case 4: // Change upper headgear for eAthena, hat for us @@ -172,7 +175,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); localPlayer->imitateOutfit(dstBeing, SPRITE_CLOTHES_COLOR); break; case 5: // Change middle headgear for eathena, armor for us @@ -181,7 +185,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); localPlayer->imitateOutfit(dstBeing, SPRITE_HEAD_BOTTOM); break; case 6: // eAthena LOOK_HAIR_COLOR @@ -197,7 +202,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); localPlayer->imitateOutfit(dstBeing, SPRITE_FLOOR); break; case 9: // eAthena LOOK_SHOES @@ -206,7 +212,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); localPlayer->imitateOutfit(dstBeing, SPRITE_HAIR); break; case 10: // LOOK_GLOVES @@ -215,7 +222,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); localPlayer->imitateOutfit(dstBeing, SPRITE_SHOES); break; case 11: // LOOK_CAPE @@ -224,7 +232,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); localPlayer->imitateOutfit(dstBeing, SPRITE_SHIELD); break; case 12: @@ -233,7 +242,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); localPlayer->imitateOutfit(dstBeing, SPRITE_HEAD_TOP); break; case 13: @@ -242,7 +252,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); localPlayer->imitateOutfit(dstBeing, SPRITE_HEAD_MID); break; case 14: @@ -251,7 +262,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); localPlayer->imitateOutfit(dstBeing, SPRITE_ROBE); break; case 15: @@ -260,7 +272,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, ItemColor_one, IsWeapon_false, - IsTempSprite_false); + IsTempSprite_false, + nullptr); localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL2); break; case 16: |