From 273b79cf4f52c846508f3493727e34b1811ecfd5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 May 2015 23:39:17 +0300 Subject: Convert CookingType enum into strong typed enum. --- src/net/eathena/npchandler.cpp | 2 +- src/net/eathena/npchandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp index 2c018dad9..939d35c10 100644 --- a/src/net/eathena/npchandler.cpp +++ b/src/net/eathena/npchandler.cpp @@ -246,7 +246,7 @@ void NpcHandler::produceMix(const int nameId, outMsg.writeInt16(static_cast(materialId3), "material 3"); } -void NpcHandler::cooking(const CookingType::Type type, +void NpcHandler::cooking(const CookingTypeT type, const int nameId) const { createOutPacket(CMSG_NPC_COOKING); diff --git a/src/net/eathena/npchandler.h b/src/net/eathena/npchandler.h index e69366c09..75d9a245d 100644 --- a/src/net/eathena/npchandler.h +++ b/src/net/eathena/npchandler.h @@ -74,7 +74,7 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler const int materialId2, const int materialId3) const override final; - void cooking(const CookingType::Type type, + void cooking(const CookingTypeT type, const int nameId) const override final; void repair(const int index) const override final; -- cgit v1.2.3-70-g09d2