summaryrefslogtreecommitdiff
path: root/src/net/tmwa/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-12 17:07:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-12 17:07:09 +0300
commit566ae30ff94caf6c92fc7d64f021b567933f8a60 (patch)
treeeae43b8899444f99a97fdd00bc5df8a117c316e9 /src/net/tmwa/beinghandler.cpp
parent247418a3ec0b50479c7bac80322202b01527ae61 (diff)
downloadmanaplus-566ae30ff94caf6c92fc7d64f021b567933f8a60.tar.gz
manaplus-566ae30ff94caf6c92fc7d64f021b567933f8a60.tar.bz2
manaplus-566ae30ff94caf6c92fc7d64f021b567933f8a60.tar.xz
manaplus-566ae30ff94caf6c92fc7d64f021b567933f8a60.zip
fix code style.
Diffstat (limited to 'src/net/tmwa/beinghandler.cpp')
-rw-r--r--src/net/tmwa/beinghandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index 195579946..75f1e2875 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -810,7 +810,7 @@ void BeingHandler::processPlayerMove(Net::MessageIn &msg) const
requestNameById(id);
}
- uint8_t dir = dstBeing->getDirectionDelayed();
+ const uint8_t dir = dstBeing->getDirectionDelayed();
if (dir)
{
if (dir != dstBeing->getDirection())