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/beingrecv.cpp | |
parent | 93e5a6fbfba642e4e3ff85dcf7bc3c02bada5649 (diff) | |
download | manaverse-845a02e65d8077f4079724a106f75470984df8d2.tar.gz manaverse-845a02e65d8077f4079724a106f75470984df8d2.tar.bz2 manaverse-845a02e65d8077f4079724a106f75470984df8d2.tar.xz manaverse-845a02e65d8077f4079724a106f75470984df8d2.zip |
Simplify set weapon sprite.
Diffstat (limited to 'src/net/ea/beingrecv.cpp')
-rw-r--r-- | src/net/ea/beingrecv.cpp | 5 |
1 files changed, 2 insertions, 3 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 |