summaryrefslogtreecommitdiff
path: root/src/net/ea/gamehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
commita9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch)
treef6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/ea/gamehandler.cpp
parent3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff)
downloadmanaplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz
manaplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2
manaplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz
manaplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip
Add missing const in net directory.
Diffstat (limited to 'src/net/ea/gamehandler.cpp')
-rw-r--r--src/net/ea/gamehandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp
index 782601b50..397e10a29 100644
--- a/src/net/ea/gamehandler.cpp
+++ b/src/net/ea/gamehandler.cpp
@@ -47,7 +47,7 @@ void GameHandler::setMap(const std::string &map)
GameRecv::mMap = map.substr(0, map.rfind("."));
}
-void GameHandler::clear()
+void GameHandler::clear() const
{
GameRecv::mMap.clear();
GameRecv::mCharID = BeingId_zero;