autodownload update

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7389 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2013-03-23 08:05:58 +00:00
parent a6e408eb13
commit ebcbbbc933
5 changed files with 11 additions and 7 deletions
+3 -3
View File
@@ -511,19 +511,19 @@ bool load_world(char *mname) // still supports all map formats that have
c2skeepalive();
watch.start();
loopi(256) if(texuse[i]) lookupworldtexture(i, true);
loopi(256) if(texuse[i]) lookupworldtexture(i, autodownload ? true : false);
int texloadtime = watch.stop();
c2skeepalive();
watch.start();
preload_mapmodels(true);
preload_mapmodels(autodownload ? true : false);
int mdlloadtime = watch.stop();
c2skeepalive();
watch.start();
audiomgr.preloadmapsounds(true);
audiomgr.preloadmapsounds(autodownload ? true : false);
int audioloadtime = watch.stop();
c2skeepalive();