summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/manaserv/generalhandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/manaserv/generalhandler.cpp b/src/net/manaserv/generalhandler.cpp
index 8b38deb21..6957d4cb4 100644
--- a/src/net/manaserv/generalhandler.cpp
+++ b/src/net/manaserv/generalhandler.cpp
@@ -93,8 +93,8 @@ GeneralHandler::GeneralHandler():
generalHandler = this;
- listen(CHANNEL_CLIENT);
- listen(CHANNEL_GAME);
+ listen(Mana::CHANNEL_CLIENT);
+ listen(Mana::CHANNEL_GAME);
}
void GeneralHandler::load()
@@ -183,13 +183,13 @@ void GeneralHandler::event(Mana::Channels channel,
{
int newState = event.getInt("newState");
- if (newState == Mana::STATE_GAME)
+ if (newState == STATE_GAME)
{
GameHandler *game = static_cast<GameHandler*>(
Net::getGameHandler());
game->gameLoading();
}
- else if (newState == Mana::STATE_LOAD_DATA)
+ else if (newState == STATE_LOAD_DATA)
{
Attributes::load();
Attributes::informItemDB();