summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index d4c26d6e8..850d335e4 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -26,6 +26,7 @@
#include "actorspritemanager.h"
#include "actorsprite.h"
+#include "being.h"
#include "channelmanager.h"
#include "client.h"
#include "commandhandler.h"
@@ -96,6 +97,7 @@
#include "resources/mapreader.h"
#include "resources/resourcemanager.h"
+#include "utils/dtor.h"
#include "utils/gettext.h"
#include "utils/mkdir.h"
@@ -399,6 +401,8 @@ Game::~Game()
del_0(spellShortcut);
del_0(mumbleManager);
+ Being::clearCache();
+
mInstance = 0;
Mana::Event::trigger(CHANNEL_GAME, Mana::Event(EVENT_DESTRUCTED));