diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-05 01:09:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-05 01:09:30 +0300 |
commit | 485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70 (patch) | |
tree | ce74f5a2fb646439cb58c2d85bc67ff29b70dbb7 /src/net/tmwa/playerrecv.cpp | |
parent | 33f4a30373c8978d4e4f29422a5b0132fd14a0ec (diff) | |
download | mv-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.gz mv-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.bz2 mv-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.xz mv-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.zip |
Fix code style.
Diffstat (limited to 'src/net/tmwa/playerrecv.cpp')
-rw-r--r-- | src/net/tmwa/playerrecv.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/tmwa/playerrecv.cpp b/src/net/tmwa/playerrecv.cpp index 8cb0bbc5d..844297b92 100644 --- a/src/net/tmwa/playerrecv.cpp +++ b/src/net/tmwa/playerrecv.cpp @@ -173,7 +173,10 @@ void PlayerRecv::processWalkResponse(Net::MessageIn &msg) * and that the server will send a correction notice * otherwise. */ - uint16_t srcX, srcY, dstX, dstY; + uint16_t srcX; + uint16_t srcY; + uint16_t dstX; + uint16_t dstY; msg.readInt32("tick"); msg.readCoordinatePair(srcX, srcY, dstX, dstY, "move path"); msg.readUInt8("unused"); |