summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2015-06-08 14:42:19 +0200
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:06 +0100
commit3550986680ae18a6cd8c499f21e9da95cb0a2fb6 (patch)
tree4cd7674ad3eb849aa35e1de4e97f9d7e4e19d4a5
parentd9f9be2549a1726d3d346917bb956b8ebaed3d72 (diff)
when not restarting the filesystem, at least clear the pak references
this appears to fix some cases of unpure client errors TODO: figure out the details of why
-rw-r--r--src/client/cl_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index 5d91da92..543c9b4f 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -2038,6 +2038,8 @@ void CL_DownloadsComplete( void ) {
// by sending the donedl command we request a new gamestate
// so we don't want to load stuff yet
return;
+ } else {
+ FS_ClearPakReferences(0);
}
// let the client game init and load data