summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-21 15:46:14 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-21 15:46:14 +0300
commit5c61d7b6e04a824b9a60f25e73abd938487b2fc4 (patch)
tree73d9e751b32076a90f6277bda1eb8d6cc66d05a3 /src/net/tmwa
parentfbadc806e050929f44b54fc2973a28d2fdfc516c (diff)
downloadmanaverse-5c61d7b6e04a824b9a60f25e73abd938487b2fc4.tar.gz
manaverse-5c61d7b6e04a824b9a60f25e73abd938487b2fc4.tar.bz2
manaverse-5c61d7b6e04a824b9a60f25e73abd938487b2fc4.tar.xz
manaverse-5c61d7b6e04a824b9a60f25e73abd938487b2fc4.zip
Remove colorId parameter from Being::updateSprite.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/beingrecv.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp
index 8b073ea7d..78d40dc1d 100644
--- a/src/net/tmwa/beingrecv.cpp
+++ b/src/net/tmwa/beingrecv.cpp
@@ -315,8 +315,7 @@ void BeingRecv::processPlayerUpdate1(Net::MessageIn &msg)
// Set these after the gender, as the sprites may be gender-specific
dstBeing->updateSprite(SPRITE_BODY,
weapon,
- "",
- ItemColor_one);
+ "");
dstBeing->setWeaponId(weapon);
dstBeing->updateSprite(SPRITE_FLOOR, shield);
dstBeing->updateSprite(SPRITE_WEAPON, headBottom);
@@ -461,8 +460,7 @@ void BeingRecv::processPlayerUpdate2(Net::MessageIn &msg)
// Set these after the gender, as the sprites may be gender-specific
dstBeing->updateSprite(SPRITE_BODY,
weapon,
- "",
- ItemColor_one);
+ "");
dstBeing->setWeaponId(weapon);
dstBeing->updateSprite(SPRITE_FLOOR, shield);
dstBeing->updateSprite(SPRITE_WEAPON, headBottom);
@@ -607,8 +605,7 @@ void BeingRecv::processPlayerMove(Net::MessageIn &msg)
// Set these after the gender, as the sprites may be gender-specific
dstBeing->updateSprite(SPRITE_BODY,
weapon,
- "",
- ItemColor_one);
+ "");
dstBeing->setWeaponId(weapon);
dstBeing->updateSprite(SPRITE_FLOOR, shield);
dstBeing->updateSprite(SPRITE_WEAPON, headBottom);
@@ -861,8 +858,7 @@ void BeingRecv::processBeingVisible(Net::MessageIn &msg)
Ea::BeingRecv::setSprite(dstBeing,
SPRITE_BODY,
weapon,
- "",
- ItemColor_one);
+ std::string());
dstBeing->setWeaponId(weapon);
Ea::BeingRecv::setSprite(dstBeing, SPRITE_FLOOR, shield);
}
@@ -1078,8 +1074,7 @@ void BeingRecv::processBeingMove(Net::MessageIn &msg)
Ea::BeingRecv::setSprite(dstBeing,
SPRITE_BODY,
weapon,
- "",
- ItemColor_one);
+ std::string());
dstBeing->setWeaponId(weapon);
Ea::BeingRecv::setSprite(dstBeing, SPRITE_FLOOR, shield);
}