summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/tmwa/questhandler.cpp4
-rw-r--r--src/net/tmwa/questhandler.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/net/tmwa/questhandler.cpp b/src/net/tmwa/questhandler.cpp
index 29aafd761..9789c2eb4 100644
--- a/src/net/tmwa/questhandler.cpp
+++ b/src/net/tmwa/questhandler.cpp
@@ -70,7 +70,7 @@ void QuestHandler::handleMessage(Net::MessageIn &msg)
BLOCK_END("QuestHandler::handleMessage")
}
-void QuestHandler::processSetQuestVar(Net::MessageIn &msg A_UNUSED)
+void QuestHandler::processSetQuestVar(Net::MessageIn &msg A_UNUSED) const
{
const int var = msg.readInt16(); // variable
const int val = msg.readInt32(); // value
@@ -86,7 +86,7 @@ void QuestHandler::processSetQuestVar(Net::MessageIn &msg A_UNUSED)
}
}
-void QuestHandler::processPlayerQuests(Net::MessageIn &msg A_UNUSED)
+void QuestHandler::processPlayerQuests(Net::MessageIn &msg A_UNUSED) const
{
const int count = (msg.readInt16() - 4) / 6;
for (int f = 0; f < count; f ++)
diff --git a/src/net/tmwa/questhandler.h b/src/net/tmwa/questhandler.h
index 17b8bd493..61d40d6b1 100644
--- a/src/net/tmwa/questhandler.h
+++ b/src/net/tmwa/questhandler.h
@@ -40,11 +40,11 @@ class QuestHandler final : public MessageHandler
A_DELETE_COPY(QuestHandler)
- void handleMessage(Net::MessageIn &msg);
+ void handleMessage(Net::MessageIn &msg) override;
- void processSetQuestVar(Net::MessageIn &msg);
+ void processSetQuestVar(Net::MessageIn &msg) const;
- void processPlayerQuests(Net::MessageIn &msg);
+ void processPlayerQuests(Net::MessageIn &msg) const;
};
} // namespace TmwAthena