summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-01 17:42:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-01 17:42:48 +0300
commit41d9ca028de0740fd23a3dabaece8d1fd1bf93c1 (patch)
tree9a6b3cc1c1fb9d843a226e91fb0330b35ae3c737 /src/net/tmwa
parentc04887aa87c5194a4774fe87cb1a969ba086a439 (diff)
downloadplus-41d9ca028de0740fd23a3dabaece8d1fd1bf93c1.tar.gz
plus-41d9ca028de0740fd23a3dabaece8d1fd1bf93c1.tar.bz2
plus-41d9ca028de0740fd23a3dabaece8d1fd1bf93c1.tar.xz
plus-41d9ca028de0740fd23a3dabaece8d1fd1bf93c1.zip
Convert BattleGroundType enum into strong typed enum.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/battlegroundhandler.cpp2
-rw-r--r--src/net/tmwa/battlegroundhandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/battlegroundhandler.cpp b/src/net/tmwa/battlegroundhandler.cpp
index e9a26180b..31dbc1006 100644
--- a/src/net/tmwa/battlegroundhandler.cpp
+++ b/src/net/tmwa/battlegroundhandler.cpp
@@ -42,7 +42,7 @@ void BattleGroundHandler::handleMessage(Net::MessageIn &msg A_UNUSED)
{
}
-void BattleGroundHandler::registerBg(const BattleGroundType::Type &type
+void BattleGroundHandler::registerBg(const BattleGroundTypeT &type
A_UNUSED,
const std::string &name A_UNUSED) const
{
diff --git a/src/net/tmwa/battlegroundhandler.h b/src/net/tmwa/battlegroundhandler.h
index cb8e5b679..1755bb980 100644
--- a/src/net/tmwa/battlegroundhandler.h
+++ b/src/net/tmwa/battlegroundhandler.h
@@ -40,7 +40,7 @@ class BattleGroundHandler final : public MessageHandler,
void handleMessage(Net::MessageIn &msg) override final;
- void registerBg(const BattleGroundType::Type &type,
+ void registerBg(const BattleGroundTypeT &type,
const std::string &name) const override final;
void rekoveRequest(const std::string &name) const override final;