summaryrefslogtreecommitdiff
path: root/src/net/ea
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
parent93e5a6fbfba642e4e3ff85dcf7bc3c02bada5649 (diff)
downloadplus-845a02e65d8077f4079724a106f75470984df8d2.tar.gz
plus-845a02e65d8077f4079724a106f75470984df8d2.tar.bz2
plus-845a02e65d8077f4079724a106f75470984df8d2.tar.xz
plus-845a02e65d8077f4079724a106f75470984df8d2.zip
Simplify set weapon sprite.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/beingrecv.cpp5
-rw-r--r--src/net/ea/beingrecv.h3
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