summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/playerrecv.cpp')
-rw-r--r--src/net/tmwa/playerrecv.cpp5
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");