summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-23 02:01:24 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-23 02:01:24 +0300
commite646f2fae3f323b7faa26aa9540524d1765211ee (patch)
tree1ca4756e626b53af31057192c6f115510c153b2f
parent4946dbcd3a3bc2006d2906acfdd080e2772c26b9 (diff)
downloadplus-e646f2fae3f323b7faa26aa9540524d1765211ee.tar.gz
plus-e646f2fae3f323b7faa26aa9540524d1765211ee.tar.bz2
plus-e646f2fae3f323b7faa26aa9540524d1765211ee.tar.xz
plus-e646f2fae3f323b7faa26aa9540524d1765211ee.zip
Remove commented code.
-rw-r--r--src/resources/resourcemanager.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index 0e755edf7..ffba339c8 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -769,7 +769,6 @@ void ResourceManager::delayedLoad()
static int loadTime = 0;
if (loadTime < cur_time)
{
-// loadTime = tick_time + 10;
loadTime = tick_time;
int k = 0;
@@ -784,13 +783,8 @@ void ResourceManager::delayedLoad()
k ++;
}
const int time2 = tick_time;
-// if (time2 != loadTime)
-// {
-// logger->log("diff %d", time2 - loadTime);
-// }
if (time2 > loadTime)
loadTime = time2 + (time2 - loadTime) * 2 + 10;
-// loadTime += 10 - time2;
else
loadTime = time2 + 3;
}