From 797a2919283659b537a2f8024a758281d0cee8e9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 23 Feb 2015 23:03:32 +0300 Subject: Move crazy moves code from local player into separate file. --- src/game.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game.cpp') 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; -- cgit v1.2.3-60-g2f50