summaryrefslogtreecommitdiff
path: root/src/net/eathena/beingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-21 14:48:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-21 14:48:50 +0300
commit71cccfd289845fcd31e64f35d600ebafd4aa29c6 (patch)
tree92aa5ed488968288b4308276e2ce889b872d14d1 /src/net/eathena/beingrecv.cpp
parent2db418d196b1778c0160420201066af824f6eae1 (diff)
downloadmv-71cccfd289845fcd31e64f35d600ebafd4aa29c6.tar.gz
mv-71cccfd289845fcd31e64f35d600ebafd4aa29c6.tar.bz2
mv-71cccfd289845fcd31e64f35d600ebafd4aa29c6.tar.xz
mv-71cccfd289845fcd31e64f35d600ebafd4aa29c6.zip
Split in Being setSprite into setSprite and setSpriteId.
Diffstat (limited to 'src/net/eathena/beingrecv.cpp')
-rw-r--r--src/net/eathena/beingrecv.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 2a06e899b..bffa9d274 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -165,10 +165,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
itemColor,
CardsList(cards));
dstBeing->setWeaponId(id);
- dstBeing->setSprite(SPRITE_FLOOR,
- id2,
- std::string(),
- ItemColor_one);
+ dstBeing->setSpriteId(SPRITE_FLOOR,
+ id2);
if (localPlayer)
localPlayer->imitateOutfit(dstBeing, SPRITE_FLOOR);
break;