summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
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;