From b5e7af7c60356a7cd2c777a5b708d9bee02efb8e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Apr 2011 22:20:07 +0300 Subject: Fix compilation in manaserv. --- src/net/manaserv/generalhandler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/net') 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( Net::getGameHandler()); game->gameLoading(); } - else if (newState == Mana::STATE_LOAD_DATA) + else if (newState == STATE_LOAD_DATA) { Attributes::load(); Attributes::informItemDB(); -- cgit v1.2.3-70-g09d2