summaryrefslogtreecommitdiff
path: root/src/net/tmwa/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/tmwa/beingrecv.cpp
parent2db418d196b1778c0160420201066af824f6eae1 (diff)
downloadplus-71cccfd289845fcd31e64f35d600ebafd4aa29c6.tar.gz
plus-71cccfd289845fcd31e64f35d600ebafd4aa29c6.tar.bz2
plus-71cccfd289845fcd31e64f35d600ebafd4aa29c6.tar.xz
plus-71cccfd289845fcd31e64f35d600ebafd4aa29c6.zip
Split in Being setSprite into setSprite and setSpriteId.
Diffstat (limited to 'src/net/tmwa/beingrecv.cpp')
-rw-r--r--src/net/tmwa/beingrecv.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp
index d86d8b2ec..2ece0e993 100644
--- a/src/net/tmwa/beingrecv.cpp
+++ b/src/net/tmwa/beingrecv.cpp
@@ -148,10 +148,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg,
"",
ItemColor_one);
dstBeing->setWeaponId(id);
- dstBeing->setSprite(SPRITE_FLOOR,
- id2,
- std::string(),
- ItemColor_one);
+ dstBeing->setSpriteId(SPRITE_FLOOR,
+ id2);
localPlayer->imitateOutfit(dstBeing, SPRITE_FLOOR);
break;
case 3: // Change lower headgear for eAthena, pants for us