diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 2535f539d..877204a4d 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -33,6 +33,7 @@ #include "effectmanager.h" #include "emoteshortcut.h" #include "eventsmanager.h" +#include "gamemodifiers.h" #include "guildmanager.h" #include "itemshortcut.h" #include "soundmanager.h" @@ -140,6 +141,7 @@ static void initEngines() actorManager = new ActorManager; commandHandler = new CommandHandler; effectManager = new EffectManager; + modifiers = new GameModifiers; AuctionManager::init(); GuildManager::init(); @@ -419,6 +421,7 @@ Game::~Game() AnimatedSprite::setEnableCache(false); + delete2(modifiers); delete2(actorManager) if (client->getState() != STATE_CHANGE_MAP) delete2(player_node) |