summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-22 18:48:01 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-22 20:37:38 -0600
commit2303bb28359d18b8f23328376f800dc36e5c2f5f (patch)
treee3e94e716a0f9a8f39ce12d27be1c955296ef9e8 /src/game.cpp
parent9e0079918ed96b1b1f839b525146d14b1c794c52 (diff)
downloadmana-2303bb28359d18b8f23328376f800dc36e5c2f5f.tar.gz
mana-2303bb28359d18b8f23328376f800dc36e5c2f5f.tar.bz2
mana-2303bb28359d18b8f23328376f800dc36e5c2f5f.tar.xz
mana-2303bb28359d18b8f23328376f800dc36e5c2f5f.zip
Fix chat under eAthena
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game.cpp b/src/game.cpp
index cf1aa220..ac18b7ce 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -27,8 +27,8 @@
#include <guichan/exception.hpp>
#include "beingmanager.h"
-#ifdef TMWSERV_SUPPORT
#include "channelmanager.h"
+#ifdef TMWSERV_SUPPORT
#include "commandhandler.h"
#endif
#include "configuration.h"
@@ -164,8 +164,8 @@ ShortcutWindow *emoteShortcutWindow;
BeingManager *beingManager = NULL;
FloorItemManager *floorItemManager = NULL;
-#ifdef TMWSERV_SUPPORT
ChannelManager *channelManager = NULL;
+#ifdef TMWSERV_SUPPORT
CommandHandler *commandHandler = NULL;
#endif
Particle* particleEngine = NULL;
@@ -370,8 +370,8 @@ Game::Game(Network *network):
#endif
floorItemManager = new FloorItemManager;
-#ifdef TMWSERV_SUPPORT
channelManager = new ChannelManager();
+#ifdef TMWSERV_SUPPORT
commandHandler = new CommandHandler();
#endif
effectManager = new EffectManager;
@@ -452,8 +452,8 @@ Game::~Game()
delete beingManager;
delete floorItemManager;
-#ifdef TMWSERV_SUPPORT
delete channelManager;
+#ifdef TMWSERV_SUPPORT
delete commandHandler;
#endif
delete joystick;