diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-05 18:33:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-05 18:33:57 +0300 |
commit | 1c34872aea8d196708aec8277017b467d01d09b0 (patch) | |
tree | dd14d98c40666797d1c5c14f39a5f117d17d791c /src/net/tmwa/beingrecv.cpp | |
parent | 3fae3f59aad1f1f2eee1e1bfa088672787bc9c78 (diff) | |
download | manaplus-1c34872aea8d196708aec8277017b467d01d09b0.tar.gz manaplus-1c34872aea8d196708aec8277017b467d01d09b0.tar.bz2 manaplus-1c34872aea8d196708aec8277017b467d01d09b0.tar.xz manaplus-1c34872aea8d196708aec8277017b467d01d09b0.zip |
Replace in Being speed field from vector to int.
Diffstat (limited to 'src/net/tmwa/beingrecv.cpp')
-rw-r--r-- | src/net/tmwa/beingrecv.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp index 0c077b900..1d8f16871 100644 --- a/src/net/tmwa/beingrecv.cpp +++ b/src/net/tmwa/beingrecv.cpp @@ -278,7 +278,7 @@ void BeingRecv::processPlayerUpdate1(Net::MessageIn &msg) dstBeing->setParty(party); } - dstBeing->setWalkSpeed(Vector(speed, speed, 0)); + dstBeing->setWalkSpeed(speed); const uint8_t hairStyle = msg.readUInt8("hair style"); const uint16_t look = msg.readUInt8("look"); @@ -414,7 +414,7 @@ void BeingRecv::processPlayerUpdate2(Net::MessageIn &msg) dstBeing->setParty(party); } - dstBeing->setWalkSpeed(Vector(speed, speed, 0)); + dstBeing->setWalkSpeed(speed); const uint8_t hairStyle = msg.readUInt8("hair style"); const uint16_t look = msg.readUInt8("look"); @@ -546,7 +546,7 @@ void BeingRecv::processPlayerMove(Net::MessageIn &msg) dstBeing->setParty(party); } - dstBeing->setWalkSpeed(Vector(speed, speed, 0)); + dstBeing->setWalkSpeed(speed); const uint8_t hairStyle = msg.readUInt8("hair style"); const uint16_t look = msg.readUInt8("look"); @@ -744,7 +744,7 @@ void BeingRecv::processBeingVisible(Net::MessageIn &msg) dstBeing->setSubtype(fromInt(job, BeingTypeId), look); if (dstBeing->getType() == ActorType::Monster && localPlayer) localPlayer->checkNewName(dstBeing); - dstBeing->setWalkSpeed(Vector(speed, speed, 0)); + dstBeing->setWalkSpeed(speed); const uint16_t weapon = msg.readInt16("weapon"); const uint16_t headBottom = msg.readInt16("head bottom"); @@ -945,7 +945,7 @@ void BeingRecv::processBeingMove(Net::MessageIn &msg) dstBeing->setSubtype(fromInt(job, BeingTypeId), look); if (dstBeing->getType() == ActorType::Monster && localPlayer) localPlayer->checkNewName(dstBeing); - dstBeing->setWalkSpeed(Vector(speed, speed, 0)); + dstBeing->setWalkSpeed(speed); const uint16_t weapon = msg.readInt16("weapon"); const uint16_t headBottom = msg.readInt16("head bottom"); |