summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-23 23:03:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-23 23:03:32 +0300
commit797a2919283659b537a2f8024a758281d0cee8e9 (patch)
tree7e25c5d5a360af2ed536194d59edf9475883a848 /src/game.cpp
parent0a3d203f6f311da4a7907863586068827cdedfed (diff)
downloadmanaverse-797a2919283659b537a2f8024a758281d0cee8e9.tar.gz
manaverse-797a2919283659b537a2f8024a758281d0cee8e9.tar.bz2
manaverse-797a2919283659b537a2f8024a758281d0cee8e9.tar.xz
manaverse-797a2919283659b537a2f8024a758281d0cee8e9.zip
Move crazy moves code from local player into separate file.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 82cc54d15..cce123b79 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -40,6 +40,7 @@
#include "spellshortcut.h"
#include "touchmanager.h"
+#include "being/crazymoves.h"
#include "being/localplayer.h"
#include "being/playerinfo.h"
@@ -144,6 +145,7 @@ static void initEngines()
#ifdef TMWA_SUPPORT
GuildManager::init();
#endif
+ crazyMoves = new CrazyMoves;
particleEngine = new Particle();
particleEngine->setMap(nullptr);
@@ -454,6 +456,7 @@ Game::~Game()
#ifdef USE_MUMBLE
delete2(mumbleManager)
#endif
+ delete2(crazyMoves);
Being::clearCache();
mInstance = nullptr;