summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-13 00:57:07 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-13 00:57:07 +0300
commit84a3ff2804a2df97a9b95d033b2c35de73271972 (patch)
treed880b4ebe54674c8f3280c3d698fd4b3b0955563 /src/resources/resourcemanager.h
parent68a06297d94c0a2780b0bbb4070813f931cdfc24 (diff)
downloadmanaverse-84a3ff2804a2df97a9b95d033b2c35de73271972.tar.gz
manaverse-84a3ff2804a2df97a9b95d033b2c35de73271972.tar.bz2
manaverse-84a3ff2804a2df97a9b95d033b2c35de73271972.tar.xz
manaverse-84a3ff2804a2df97a9b95d033b2c35de73271972.zip
also clear resource cache if switching servers.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index d45a4ba11..d56406bec 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -322,6 +322,8 @@ class ResourceManager final
Resource *getTempResource(const std::string &idPath) A_WARN_UNUSED;
+ void clearCache();
+
static void addDelayedAnimation(AnimationDelayLoad *const animation)
{ mDelayedAnimations.push_back(animation); }