diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-01 17:42:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-01 17:42:48 +0300 |
commit | 41d9ca028de0740fd23a3dabaece8d1fd1bf93c1 (patch) | |
tree | 9a6b3cc1c1fb9d843a226e91fb0330b35ae3c737 /src/net/eathena/battlegroundhandler.cpp | |
parent | c04887aa87c5194a4774fe87cb1a969ba086a439 (diff) | |
download | mv-41d9ca028de0740fd23a3dabaece8d1fd1bf93c1.tar.gz mv-41d9ca028de0740fd23a3dabaece8d1fd1bf93c1.tar.bz2 mv-41d9ca028de0740fd23a3dabaece8d1fd1bf93c1.tar.xz mv-41d9ca028de0740fd23a3dabaece8d1fd1bf93c1.zip |
Convert BattleGroundType enum into strong typed enum.
Diffstat (limited to 'src/net/eathena/battlegroundhandler.cpp')
-rw-r--r-- | src/net/eathena/battlegroundhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/battlegroundhandler.cpp b/src/net/eathena/battlegroundhandler.cpp index dd1f6bfe9..3a59b495e 100644 --- a/src/net/eathena/battlegroundhandler.cpp +++ b/src/net/eathena/battlegroundhandler.cpp @@ -151,7 +151,7 @@ void BattleGroundHandler::processBattleJoined(Net::MessageIn &msg) msg.readInt32("position"); } -void BattleGroundHandler::registerBg(const BattleGroundType::Type &type, +void BattleGroundHandler::registerBg(const BattleGroundTypeT &type, const std::string &name) const { createOutPacket(CMSG_BATTLE_REGISTER); |