summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-09 22:20:07 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-09 22:20:07 +0300
commitb5e7af7c60356a7cd2c777a5b708d9bee02efb8e (patch)
treea9247cfde0ecec0041711fc5a7f08456ed9b633e /src
parent14c89c0f50dd04c1187819abcc24490fa975574e (diff)
downloadmv-b5e7af7c60356a7cd2c777a5b708d9bee02efb8e.tar.gz
mv-b5e7af7c60356a7cd2c777a5b708d9bee02efb8e.tar.bz2
mv-b5e7af7c60356a7cd2c777a5b708d9bee02efb8e.tar.xz
mv-b5e7af7c60356a7cd2c777a5b708d9bee02efb8e.zip
Fix compilation in manaserv.
Diffstat (limited to 'src')
-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();