From a0c7a0e2d34a13f2c3e86f662e352977ebe2ae73 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Apr 2013 00:33:27 +0300 Subject: Add option to left all per map sprites in memory if once was loaded. This can prevent random lags and also can use more memory. --- src/commands.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 8ddd0f0bf..9b3a776d4 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -349,6 +349,7 @@ impHandler0(clear) impHandler0(cleanGraphics) { ResourceManager *const resman = ResourceManager::getInstance(); + resman->cleanProtected(); while (resman->cleanOrphans(true)); if (debugChatTab) -- cgit v1.2.3-60-g2f50