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/ea | |
parent | e03f294796e1cd8d49d00fd86dc33959948924c7 (diff) | |
download | manaplus-53ccb4e767914782172c09ead9076f9fccaa5253.tar.gz manaplus-53ccb4e767914782172c09ead9076f9fccaa5253.tar.bz2 manaplus-53ccb4e767914782172c09ead9076f9fccaa5253.tar.xz manaplus-53ccb4e767914782172c09ead9076f9fccaa5253.zip |
Add setTempSprite method into Being.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/beingrecv.cpp | 5 | ||||
-rw-r--r-- | src/net/ea/beingrecv.h | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp index c37cf2f82..06739043b 100644 --- a/src/net/ea/beingrecv.cpp +++ b/src/net/ea/beingrecv.cpp @@ -547,12 +547,11 @@ void BeingRecv::setSprite(Being *const being, const int id, const std::string &color, const ItemColor colorId, - const IsWeapon isWeapon, - const IsTempSprite isTempSprite) + const IsWeapon isWeapon) { if (!being) return; - being->updateSprite(slot, id, color, colorId, isWeapon, isTempSprite); + being->updateSprite(slot, id, color, colorId, isWeapon); } } // namespace Ea diff --git a/src/net/ea/beingrecv.h b/src/net/ea/beingrecv.h index 200059327..0da890eb3 100644 --- a/src/net/ea/beingrecv.h +++ b/src/net/ea/beingrecv.h @@ -60,8 +60,7 @@ namespace Ea const int id, const std::string &color = "", const ItemColor colorId = ItemColor_one, - const IsWeapon isWeapon = IsWeapon_false, - const IsTempSprite isTempSprite = IsTempSprite_false); + const IsWeapon isWeapon = IsWeapon_false); } // namespace BeingRecv } // namespace Ea |