diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 23:39:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 23:39:17 +0300 |
commit | 273b79cf4f52c846508f3493727e34b1811ecfd5 (patch) | |
tree | 2645bc865da16e851b593ca1f3860d70d7911e81 /src/net/eathena | |
parent | c593adb7fb0dffc62f1311e6c52f25bfafcdf0f4 (diff) | |
download | manaplus-273b79cf4f52c846508f3493727e34b1811ecfd5.tar.gz manaplus-273b79cf4f52c846508f3493727e34b1811ecfd5.tar.bz2 manaplus-273b79cf4f52c846508f3493727e34b1811ecfd5.tar.xz manaplus-273b79cf4f52c846508f3493727e34b1811ecfd5.zip |
Convert CookingType enum into strong typed enum.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/npchandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/npchandler.h | 2 |
2 files changed, 2 insertions, 2 deletions
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<int16_t>(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; |