summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-01 23:50:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-01 23:50:19 +0300
commit96d1d7c2600642930019bd5a9553f92ec2d7d5a9 (patch)
tree52b6428ed4639ad77f7941b23e975c57cb56e128 /src/net/ea
parent731151351ec84abd70c011a75ab58f4adfd1cd6d (diff)
downloadmanaplus-96d1d7c2600642930019bd5a9553f92ec2d7d5a9.tar.gz
manaplus-96d1d7c2600642930019bd5a9553f92ec2d7d5a9.tar.bz2
manaplus-96d1d7c2600642930019bd5a9553f92ec2d7d5a9.tar.xz
manaplus-96d1d7c2600642930019bd5a9553f92ec2d7d5a9.zip
Fix code style.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/beingrecv.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp
index 39a0e26e1..9b12583a8 100644
--- a/src/net/ea/beingrecv.cpp
+++ b/src/net/ea/beingrecv.cpp
@@ -45,8 +45,6 @@
#include "net/messagein.h"
#include "net/serverfeatures.h"
-#include "utils/checkutils.h"
-
#include "debug.h"
namespace Ea
@@ -436,8 +434,8 @@ void BeingRecv::processBeingMove3(Net::MessageIn &msg)
}
const int16_t speed = msg.readInt16("speed");
dstBeing->setWalkSpeed(speed);
- int16_t x = msg.readInt16("x");
- int16_t y = msg.readInt16("y");
+ const int16_t x = msg.readInt16("x");
+ const int16_t y = msg.readInt16("y");
dstBeing->setAction(BeingAction::STAND, 0);
dstBeing->setTileCoords(x, y);