diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-21 15:46:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-21 15:46:14 +0300 |
commit | 5c61d7b6e04a824b9a60f25e73abd938487b2fc4 (patch) | |
tree | 73d9e751b32076a90f6277bda1eb8d6cc66d05a3 /src/net/ea | |
parent | fbadc806e050929f44b54fc2973a28d2fdfc516c (diff) | |
download | plus-5c61d7b6e04a824b9a60f25e73abd938487b2fc4.tar.gz plus-5c61d7b6e04a824b9a60f25e73abd938487b2fc4.tar.bz2 plus-5c61d7b6e04a824b9a60f25e73abd938487b2fc4.tar.xz plus-5c61d7b6e04a824b9a60f25e73abd938487b2fc4.zip |
Remove colorId parameter from Being::updateSprite.
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 10694a8e9..a32ad0ecb 100644 --- a/src/net/ea/beingrecv.cpp +++ b/src/net/ea/beingrecv.cpp @@ -545,12 +545,11 @@ Being *BeingRecv::createBeing(const BeingId id, void BeingRecv::setSprite(Being *const being, const unsigned int slot, const int id, - const std::string &color, - const ItemColor colorId) + const std::string &color) { if (!being) return; - being->updateSprite(slot, id, color, colorId); + being->updateSprite(slot, id, color); } } // namespace Ea diff --git a/src/net/ea/beingrecv.h b/src/net/ea/beingrecv.h index 3ffc95367..0fe2ea234 100644 --- a/src/net/ea/beingrecv.h +++ b/src/net/ea/beingrecv.h @@ -56,8 +56,7 @@ namespace Ea void setSprite(Being *const being, const unsigned int slot, const int id, - const std::string &color = "", - const ItemColor colorId = ItemColor_one); + const std::string &color = ""); } // namespace BeingRecv } // namespace Ea |