summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-03 14:55:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-03 14:55:20 +0300
commit7aec0517fe0874b5ac6e6590d442aa89a6f8f5a7 (patch)
tree0f1f54c66c35ca530521e46751fe393190c5d9cb /src/net/tmwa
parentd05183a9029d65224f73143a380f1631692a9257 (diff)
downloadmanaverse-7aec0517fe0874b5ac6e6590d442aa89a6f8f5a7.tar.gz
manaverse-7aec0517fe0874b5ac6e6590d442aa89a6f8f5a7.tar.bz2
manaverse-7aec0517fe0874b5ac6e6590d442aa89a6f8f5a7.tar.xz
manaverse-7aec0517fe0874b5ac6e6590d442aa89a6f8f5a7.zip
Convert StoreSearchType enum into strong typed enum.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/searchstorehandler.cpp2
-rw-r--r--src/net/tmwa/searchstorehandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/searchstorehandler.cpp b/src/net/tmwa/searchstorehandler.cpp
index b4c304573..091903e4c 100644
--- a/src/net/tmwa/searchstorehandler.cpp
+++ b/src/net/tmwa/searchstorehandler.cpp
@@ -47,7 +47,7 @@ void SearchStoreHandler::handleMessage(Net::MessageIn &msg)
}
}
-void SearchStoreHandler::search(const StoreSearchType::Type type A_UNUSED,
+void SearchStoreHandler::search(const StoreSearchTypeT type A_UNUSED,
const int minPrice A_UNUSED,
const int maxPrice A_UNUSED,
const int itemId A_UNUSED) const
diff --git a/src/net/tmwa/searchstorehandler.h b/src/net/tmwa/searchstorehandler.h
index b0217d3cb..ca1efcd9c 100644
--- a/src/net/tmwa/searchstorehandler.h
+++ b/src/net/tmwa/searchstorehandler.h
@@ -39,7 +39,7 @@ class SearchStoreHandler final : public MessageHandler,
void handleMessage(Net::MessageIn &msg) override final;
- void search(const StoreSearchType::Type type,
+ void search(const StoreSearchTypeT type,
const int minPrice,
const int maxPrice,
const int itemId) const override final;