diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-08 18:26:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-08 18:55:05 +0300 |
commit | 53ccb4e767914782172c09ead9076f9fccaa5253 (patch) | |
tree | 2bcf886b7c0b25c4a757892148fcd5c3778403ea /src/net/eathena | |
parent | e03f294796e1cd8d49d00fd86dc33959948924c7 (diff) | |
download | manaverse-53ccb4e767914782172c09ead9076f9fccaa5253.tar.gz manaverse-53ccb4e767914782172c09ead9076f9fccaa5253.tar.bz2 manaverse-53ccb4e767914782172c09ead9076f9fccaa5253.tar.xz manaverse-53ccb4e767914782172c09ead9076f9fccaa5253.zip |
Add setTempSprite method into Being.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 15 | ||||
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 17 | ||||
-rw-r--r-- | src/net/eathena/charserverrecv.cpp | 11 |
3 files changed, 0 insertions, 43 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 8ad438a09..c4b8e85d5 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -55,105 +55,90 @@ void BeingHandler::undress(Being *const being) const std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_HEAD_BOTTOM, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_HEAD_TOP, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_HEAD_MID, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_CLOTHES_COLOR, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_SHIELD, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_FLOOR, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_ROBE, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_EVOL2, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_EVOL3, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_EVOL4, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_EVOL5, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_EVOL6, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_HAIR, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); being->setSprite(SPRITE_SHOES, 0, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); } diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index 0c673be9f..1664cd77a 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -165,14 +165,12 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, "", itemColor, IsWeapon_true, - IsTempSprite_false, cards); dstBeing->setSprite(SPRITE_FLOOR, id2, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_FLOOR); @@ -183,7 +181,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_WEAPON); @@ -194,7 +191,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_CLOTHES_COLOR); @@ -206,7 +202,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_HEAD_BOTTOM); @@ -227,7 +222,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_FLOOR); @@ -238,7 +232,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_HAIR); @@ -249,7 +242,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_SHOES); @@ -260,7 +252,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_SHIELD); @@ -271,7 +262,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_HEAD_TOP); @@ -282,7 +272,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_HEAD_MID); @@ -293,7 +282,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_ROBE); @@ -304,7 +292,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL2); @@ -315,7 +302,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL3); @@ -326,7 +312,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL4); @@ -337,7 +322,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL5); @@ -348,7 +332,6 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, color, itemColor, IsWeapon_false, - IsTempSprite_false, cards); if (localPlayer) localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL6); diff --git a/src/net/eathena/charserverrecv.cpp b/src/net/eathena/charserverrecv.cpp index 4add9c820..7c8a2d99f 100644 --- a/src/net/eathena/charserverrecv.cpp +++ b/src/net/eathena/charserverrecv.cpp @@ -134,7 +134,6 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg, "", ItemColor_one, IsWeapon_true, - IsTempSprite_false, nullptr); data.mAttributes[Attributes::LEVEL] = msg.readInt16("level"); @@ -154,7 +153,6 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); } else @@ -165,7 +163,6 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg, color), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); } @@ -200,56 +197,48 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); tempPlayer->setSprite(SPRITE_SHOES, gloves, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); tempPlayer->setSprite(SPRITE_SHIELD, cape, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); tempPlayer->setSprite(SPRITE_HEAD_TOP, misc1, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); tempPlayer->setSprite(SPRITE_WEAPON, bottomClothes, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); tempPlayer->setSprite(SPRITE_FLOOR, shield, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); tempPlayer->setSprite(SPRITE_CLOTHES_COLOR, hat, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); tempPlayer->setSprite(SPRITE_HEAD_BOTTOM, topClothes, std::string(), ItemColor_one, IsWeapon_false, - IsTempSprite_false, nullptr); // tempPlayer->setSprite(SPRITE_HEAD_MID, misc2); } |