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