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/tmwa | |
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/tmwa')
-rw-r--r-- | src/net/tmwa/npchandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/npchandler.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index b3187687c..175adabb9 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -221,7 +221,7 @@ void NpcHandler::produceMix(const int nameId A_UNUSED, } #ifdef EATHENA_SUPPORT -void NpcHandler::cooking(const CookingType::Type type A_UNUSED, +void NpcHandler::cooking(const CookingTypeT type A_UNUSED, const int nameId A_UNUSED) const { } diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h index c4880ac15..c8da3fd42 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -77,7 +77,7 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler const int materialId3) const override final; #ifdef EATHENA_SUPPORT - void cooking(const CookingType::Type type, + void cooking(const CookingTypeT type, const int nameId) const override final; #endif |