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/ea/beingrecv.cpp | |
parent | 3fae3f59aad1f1f2eee1e1bfa088672787bc9c78 (diff) | |
download | mv-1c34872aea8d196708aec8277017b467d01d09b0.tar.gz mv-1c34872aea8d196708aec8277017b467d01d09b0.tar.bz2 mv-1c34872aea8d196708aec8277017b467d01d09b0.tar.xz mv-1c34872aea8d196708aec8277017b467d01d09b0.zip |
Replace in Being speed field from vector to int.
Diffstat (limited to 'src/net/ea/beingrecv.cpp')
-rw-r--r-- | src/net/ea/beingrecv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp index 21e79a089..364236a08 100644 --- a/src/net/ea/beingrecv.cpp +++ b/src/net/ea/beingrecv.cpp @@ -458,7 +458,7 @@ void BeingRecv::processBeingMove3(Net::MessageIn &msg) return; } const int16_t speed = msg.readInt16("speed"); - dstBeing->setWalkSpeed(Vector(speed, speed, 0)); + dstBeing->setWalkSpeed(speed); int16_t x = msg.readInt16("x"); int16_t y = msg.readInt16("y"); |