diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-08 20:16:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-08 20:16:41 +0300 |
commit | 845a02e65d8077f4079724a106f75470984df8d2 (patch) | |
tree | e6ab2efdd3d408dbb235fc6b3f7591ac0b017a51 /src/net/ea | |
parent | 93e5a6fbfba642e4e3ff85dcf7bc3c02bada5649 (diff) | |
download | mv-845a02e65d8077f4079724a106f75470984df8d2.tar.gz mv-845a02e65d8077f4079724a106f75470984df8d2.tar.bz2 mv-845a02e65d8077f4079724a106f75470984df8d2.tar.xz mv-845a02e65d8077f4079724a106f75470984df8d2.zip |
Simplify set weapon sprite.
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 06739043b..10694a8e9 100644 --- a/src/net/ea/beingrecv.cpp +++ b/src/net/ea/beingrecv.cpp @@ -546,12 +546,11 @@ void BeingRecv::setSprite(Being *const being, const unsigned int slot, const int id, const std::string &color, - const ItemColor colorId, - const IsWeapon isWeapon) + const ItemColor colorId) { if (!being) return; - being->updateSprite(slot, id, color, colorId, isWeapon); + being->updateSprite(slot, id, color, colorId); } } // namespace Ea diff --git a/src/net/ea/beingrecv.h b/src/net/ea/beingrecv.h index 0da890eb3..c167f174a 100644 --- a/src/net/ea/beingrecv.h +++ b/src/net/ea/beingrecv.h @@ -59,8 +59,7 @@ namespace Ea const unsigned int slot, const int id, const std::string &color = "", - const ItemColor colorId = ItemColor_one, - const IsWeapon isWeapon = IsWeapon_false); + const ItemColor colorId = ItemColor_one); } // namespace BeingRecv } // namespace Ea |