summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-12 21:29:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-12 22:22:59 +0300
commit03889098f030471b88b007e03a1c5a5630434521 (patch)
tree4b60ab4f26e44908bf240254029976eb078fdaa0 /src/net/eathena
parentc565936b3ac5b6e1ab0d5ca30963619c7b725bb6 (diff)
downloadManaVerse-03889098f030471b88b007e03a1c5a5630434521.tar.gz
ManaVerse-03889098f030471b88b007e03a1c5a5630434521.tar.bz2
ManaVerse-03889098f030471b88b007e03a1c5a5630434521.tar.xz
ManaVerse-03889098f030471b88b007e03a1c5a5630434521.zip
Fix code style and other small issues.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/gamehandler.cpp2
-rw-r--r--src/net/eathena/gamehandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp
index 74f2a89ea..2ec9899c2 100644
--- a/src/net/eathena/gamehandler.cpp
+++ b/src/net/eathena/gamehandler.cpp
@@ -169,7 +169,7 @@ void GameHandler::disconnect2() const
MessageOut outMsg(CMSG_CLIENT_DISCONNECT);
}
-void GameHandler::processMapCharId(Net::MessageIn &msg)
+void GameHandler::processMapCharId(Net::MessageIn &msg) const
{
msg.readInt32(); // char id
}
diff --git a/src/net/eathena/gamehandler.h b/src/net/eathena/gamehandler.h
index 4e3ef861b..2de3ccaac 100644
--- a/src/net/eathena/gamehandler.h
+++ b/src/net/eathena/gamehandler.h
@@ -56,7 +56,7 @@ class GameHandler final : public MessageHandler, public Ea::GameHandler
void mapLoadedEvent() const override;
- void processMapCharId(Net::MessageIn &msg);
+ void processMapCharId(Net::MessageIn &msg) const;
bool mustPing() const override A_WARN_UNUSED
{ return true; }