summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-17 23:03:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-17 23:03:03 +0300
commit84b67aacfdedd8d526d246e3d3c0914a899d491c (patch)
treeee24b23538b0e68cf8addb5240fbdc2182247006 /src/net/eathena
parent0567d32aa605e66563abdb34d998cce18cea3cc2 (diff)
downloadmanaplus-84b67aacfdedd8d526d246e3d3c0914a899d491c.tar.gz
manaplus-84b67aacfdedd8d526d246e3d3c0914a899d491c.tar.bz2
manaplus-84b67aacfdedd8d526d246e3d3c0914a899d491c.tar.xz
manaplus-84b67aacfdedd8d526d246e3d3c0914a899d491c.zip
Add static in npchandler.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/npchandler.cpp4
-rw-r--r--src/net/eathena/npchandler.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp
index 27c8c6903..873982750 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -322,14 +322,14 @@ void NpcHandler::processNpcViewPoint(Net::MessageIn &msg)
msg.readInt32("color");
}
-void NpcHandler::processNpcShowProgressBar(Net::MessageIn &msg) const
+void NpcHandler::processNpcShowProgressBar(Net::MessageIn &msg)
{
// +++ probably need show progress bar in npc dialog
msg.readInt32("color");
msg.readInt32("seconds");
}
-void NpcHandler::processNpcCloseTimeout(Net::MessageIn &msg) const
+void NpcHandler::processNpcCloseTimeout(Net::MessageIn &msg)
{
// this packet send after npc closed by timeout.
msg.readInt32("npc id");
diff --git a/src/net/eathena/npchandler.h b/src/net/eathena/npchandler.h
index 2e8c00181..529d397ef 100644
--- a/src/net/eathena/npchandler.h
+++ b/src/net/eathena/npchandler.h
@@ -92,9 +92,9 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler
static void processNpcViewPoint(Net::MessageIn &msg);
- void processNpcShowProgressBar(Net::MessageIn &msg) const;
+ static void processNpcShowProgressBar(Net::MessageIn &msg);
- void processNpcCloseTimeout(Net::MessageIn &msg) const;
+ static void processNpcCloseTimeout(Net::MessageIn &msg);
};
} // namespace EAthena