From 8314f36b8b941ddc0fbe0014ea8bea7ecbdc43fe Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 17 Apr 2015 14:10:17 +0300 Subject: Add eathena defines into cookingtype enum. --- src/net/tmwa/npchandler.cpp | 2 ++ src/net/tmwa/npchandler.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index 26ac27b84..3fd1fed60 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -215,10 +215,12 @@ void NpcHandler::produceMix(const int nameId A_UNUSED, { } +#ifdef EATHENA_SUPPORT void NpcHandler::cooking(const CookingType::Type type A_UNUSED, const int nameId A_UNUSED) const { } +#endif void NpcHandler::repair(const int index A_UNUSED) const { diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h index d82885da0..f8baff5d3 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -74,8 +74,10 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler const int materialId2, const int materialId3) const override final; +#ifdef EATHENA_SUPPORT void cooking(const CookingType::Type type, const int nameId) const override final; +#endif void repair(const int index) const override final; -- cgit v1.2.3-70-g09d2