From 1d769f5e2dafcd9ab20264b8781f3e656af44fc2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Sep 2015 21:37:09 +0300 Subject: Fix compilation without C++11 flags. --- src/net/tmwa/npchandler.cpp | 2 +- src/net/tmwa/npchandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index f742ecb38..4b24bce1f 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -180,7 +180,7 @@ void NpcHandler::selectAutoSpell(const int skillId A_UNUSED) const } BeingId NpcHandler::getNpc(Net::MessageIn &msg, - const NpcAction action) + const NpcActionT action) { const BeingId npcId = msg.readBeingId("npc id"); diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h index 51402768c..667999ccc 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -66,7 +66,7 @@ class NpcHandler final : public Ea::NpcHandler void completeProgressBar() const override final; BeingId getNpc(Net::MessageIn &msg, - const NpcAction action) override final; + const NpcAction actionT) override final; void produceMix(const int nameId, const int materialId1, -- cgit v1.2.3-70-g09d2