summaryrefslogtreecommitdiff
path: root/src/client/main.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2012-12-09 02:41:25 +0400
committerAndrey Nazarov <skuller@skuller.net>2012-12-09 03:08:12 +0400
commitaa21464898b9239fafe148e703bd46a05d65cced (patch)
tree56a6069f493bd599927cb9a006b2e73a406f831d /src/client/main.c
parent84e0b001e6fe5f79518b17551f07365846d9b756 (diff)
Add download ignore list support.
Allow mods to provide a list of paths that are known to be non-existent and should never be downloaded (e.g. model specific sounds).
Diffstat (limited to 'src/client/main.c')
-rw-r--r--src/client/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/main.c b/src/client/main.c
index 5c605c2..dbcf870 100644
--- a/src/client/main.c
+++ b/src/client/main.c
@@ -2347,6 +2347,8 @@ void CL_RestartFilesystem(qboolean total)
CL_LoadState(LOAD_FINISH);
}
+ CL_LoadDownloadIgnores();
+
// switch back to original state
cls.state = cls_state;
@@ -3287,6 +3289,8 @@ void CL_Init(void)
}
#endif
+ CL_LoadDownloadIgnores();
+
HTTP_Init();
UI_OpenMenu(UIMENU_DEFAULT);