summaryrefslogtreecommitdiff
path: root/src/net/tmwa/gamerecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-05 01:09:30 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-05 01:09:30 +0300
commit485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70 (patch)
treece74f5a2fb646439cb58c2d85bc67ff29b70dbb7 /src/net/tmwa/gamerecv.cpp
parent33f4a30373c8978d4e4f29422a5b0132fd14a0ec (diff)
downloadmv-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.gz
mv-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.bz2
mv-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.xz
mv-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.zip
Fix code style.
Diffstat (limited to 'src/net/tmwa/gamerecv.cpp')
-rw-r--r--src/net/tmwa/gamerecv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/gamerecv.cpp b/src/net/tmwa/gamerecv.cpp
index c1b1c399a..76c2e6bfa 100644
--- a/src/net/tmwa/gamerecv.cpp
+++ b/src/net/tmwa/gamerecv.cpp
@@ -41,7 +41,8 @@ extern ServerInfo mapServer;
void GameRecv::processMapLogin(Net::MessageIn &msg)
{
unsigned char direction;
- uint16_t x, y;
+ uint16_t x;
+ uint16_t y;
msg.readInt32("tick");
msg.readCoordinates(x, y, direction, "position");
msg.readInt16("unknown?");