summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-23 21:37:09 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-23 21:37:09 +0300
commit1d769f5e2dafcd9ab20264b8781f3e656af44fc2 (patch)
tree8e6a1c77b01fbd05ca3b4a3684d83e8d6912bc45 /src/net/tmwa
parenta6cd6b2374c55ff4342137d197a43d4656427365 (diff)
downloadplus-1d769f5e2dafcd9ab20264b8781f3e656af44fc2.tar.gz
plus-1d769f5e2dafcd9ab20264b8781f3e656af44fc2.tar.bz2
plus-1d769f5e2dafcd9ab20264b8781f3e656af44fc2.tar.xz
plus-1d769f5e2dafcd9ab20264b8781f3e656af44fc2.zip
Fix compilation without C++11 flags.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/npchandler.cpp2
-rw-r--r--src/net/tmwa/npchandler.h2
2 files changed, 2 insertions, 2 deletions
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,