diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 23:58:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 23:58:09 +0300 |
commit | 954d4527558bbf797fd0389b0400fb05963ff96b (patch) | |
tree | ec90371d34f88b3e22e9d65ad71d349ee53f62fe /src/net/eathena/charserverrecv.cpp | |
parent | 7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 (diff) | |
download | manaverse-954d4527558bbf797fd0389b0400fb05963ff96b.tar.gz manaverse-954d4527558bbf797fd0389b0400fb05963ff96b.tar.bz2 manaverse-954d4527558bbf797fd0389b0400fb05963ff96b.tar.xz manaverse-954d4527558bbf797fd0389b0400fb05963ff96b.zip |
Add some more missing consts.
Diffstat (limited to 'src/net/eathena/charserverrecv.cpp')
-rw-r--r-- | src/net/eathena/charserverrecv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/charserverrecv.cpp b/src/net/eathena/charserverrecv.cpp index 03ca40aaa..e82a8c144 100644 --- a/src/net/eathena/charserverrecv.cpp +++ b/src/net/eathena/charserverrecv.cpp @@ -221,7 +221,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) { @@ -256,7 +256,7 @@ void CharServerRecv::processChangeMapServer(Net::MessageIn &msg) Network *const network = Network::mInstance; ServerInfo &server = mapServer; BLOCK_START("CharServerRecv::processChangeMapServer") - GameHandler *const gh = static_cast<GameHandler*>(gameHandler); + const GameHandler *const gh = static_cast<GameHandler*>(gameHandler); if (!gh || !network) { BLOCK_END("CharServerRecv::processChangeMapServer") |