From 845a02e65d8077f4079724a106f75470984df8d2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 8 Jun 2016 20:16:41 +0300 Subject: Simplify set weapon sprite. --- src/net/ea/beingrecv.cpp | 5 ++--- src/net/ea/beingrecv.h | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src/net/ea') 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 -- cgit v1.2.3-70-g09d2