summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-14 12:32:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-14 12:32:04 +0300
commit33fa397fd5b560afde5a876a99acc2b2546d1d44 (patch)
treeb38470466dc9cc9f7da0b197346075b9062343c0 /src/game.cpp
parentbb631b982a2f9b35e8009c3e76c4445ea3fda460 (diff)
downloadmv-33fa397fd5b560afde5a876a99acc2b2546d1d44.tar.gz
mv-33fa397fd5b560afde5a876a99acc2b2546d1d44.tar.bz2
mv-33fa397fd5b560afde5a876a99acc2b2546d1d44.tar.xz
mv-33fa397fd5b560afde5a876a99acc2b2546d1d44.zip
Allow use chat commands before connecting to server.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 4e2977232..bca5813c1 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -140,7 +140,6 @@ const unsigned adjustDelay = 10;
static void initEngines()
{
actorManager = new ActorManager;
- commandHandler = new CommandHandler;
effectManager = new EffectManager;
AuctionManager::init();
GuildManager::init();
@@ -427,7 +426,6 @@ Game::~Game()
delete2(actorManager)
if (client->getState() != STATE_CHANGE_MAP)
delete2(localPlayer)
- delete2(commandHandler)
delete2(effectManager)
delete2(particleEngine)
delete2(viewport)