summaryrefslogtreecommitdiff
path: root/src/net/ea/beingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 20:16:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 20:16:41 +0300
commit845a02e65d8077f4079724a106f75470984df8d2 (patch)
treee6ab2efdd3d408dbb235fc6b3f7591ac0b017a51 /src/net/ea/beingrecv.cpp
parent93e5a6fbfba642e4e3ff85dcf7bc3c02bada5649 (diff)
downloadmanaplus-845a02e65d8077f4079724a106f75470984df8d2.tar.gz
manaplus-845a02e65d8077f4079724a106f75470984df8d2.tar.bz2
manaplus-845a02e65d8077f4079724a106f75470984df8d2.tar.xz
manaplus-845a02e65d8077f4079724a106f75470984df8d2.zip
Simplify set weapon sprite.
Diffstat (limited to 'src/net/ea/beingrecv.cpp')
-rw-r--r--src/net/ea/beingrecv.cpp5
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