summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-11 15:34:05 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-11 15:34:05 +0300
commit9d335ffd1651b5fb7bf71ca49fabba80c9099739 (patch)
tree481c39622fe756d3b4f6adac745859944274941f
parentf2193dc3a5180844c0375326b919e249d09eafae (diff)
downloadmanaverse-9d335ffd1651b5fb7bf71ca49fabba80c9099739.tar.gz
manaverse-9d335ffd1651b5fb7bf71ca49fabba80c9099739.tar.bz2
manaverse-9d335ffd1651b5fb7bf71ca49fabba80c9099739.tar.xz
manaverse-9d335ffd1651b5fb7bf71ca49fabba80c9099739.zip
Disable delay sprites load after game end.
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index c0e69bb75..69c0e3fdc 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -442,6 +442,8 @@ Game::~Game()
destroyGuiWindows();
+ AnimatedSprite::setEnableCache(false);
+
del_0(actorSpriteManager)
if (Client::getState() != STATE_CHANGE_MAP)
del_0(player_node)