diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-28 19:19:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-28 19:19:02 +0300 |
commit | 601607488ae529b7dfd9bd55afd0e89e42762281 (patch) | |
tree | 0006e7c0f7546452037362a10750f3f17e1924aa /src/game.cpp | |
parent | b29b80ccc9a22d8d4b3acf4b251bc2388b82027f (diff) | |
download | mv-601607488ae529b7dfd9bd55afd0e89e42762281.tar.gz mv-601607488ae529b7dfd9bd55afd0e89e42762281.tar.bz2 mv-601607488ae529b7dfd9bd55afd0e89e42762281.tar.xz mv-601607488ae529b7dfd9bd55afd0e89e42762281.zip |
Dehardcode default spells/commands.
Read commands from defaultcommands.xml.
Also improve a bit saving commands in spellmanager.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game.cpp b/src/game.cpp index 4292d00cc..0451dd516 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -358,8 +358,6 @@ Game::Game() : mTime2(cur_time + 10) { touchManager.setInGame(true); - spellManager = new SpellManager; - spellShortcut = new SpellShortcut; // assert(!mInstance); if (mInstance) @@ -430,8 +428,6 @@ Game::~Game() delete2(particleEngine) delete2(viewport) delete2(mCurrentMap) - delete2(spellManager) - delete2(spellShortcut) delete2(guildManager) #ifdef USE_MUMBLE delete2(mumbleManager) |