summaryrefslogtreecommitdiff
path: root/src/net/tmwa/charserverrecv.cpp
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/tmwa/charserverrecv.cpp
parent731151351ec84abd70c011a75ab58f4adfd1cd6d (diff)
downloadplus-96d1d7c2600642930019bd5a9553f92ec2d7d5a9.tar.gz
plus-96d1d7c2600642930019bd5a9553f92ec2d7d5a9.tar.bz2
plus-96d1d7c2600642930019bd5a9553f92ec2d7d5a9.tar.xz
plus-96d1d7c2600642930019bd5a9553f92ec2d7d5a9.zip
Fix code style.
Diffstat (limited to 'src/net/tmwa/charserverrecv.cpp')
-rw-r--r--src/net/tmwa/charserverrecv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/charserverrecv.cpp b/src/net/tmwa/charserverrecv.cpp
index e54b092e0..9728303ff 100644
--- a/src/net/tmwa/charserverrecv.cpp
+++ b/src/net/tmwa/charserverrecv.cpp
@@ -210,7 +210,7 @@ void CharServerRecv::processCharMapInfo(Net::MessageIn &restrict msg)
ServerInfo &server = mapServer;
BLOCK_START("CharServerRecv::processCharMapInfo")
PlayerInfo::setCharId(msg.readInt32("char id?"));
- GameHandler *const gh = static_cast<GameHandler*>(gameHandler);
+ const GameHandler *const gh = static_cast<GameHandler*>(gameHandler);
gh->setMap(msg.readString(16, "map name"));
if (config.getBoolValue("usePersistentIP") || settings.persistentIp)
{