[iortcw] 42/497: All: Clear referenced paks when disconnecting

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 6654b6435acd30e296177f136f0a9c256224ed38
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Sun Feb 9 11:32:21 2014 +0000

    All: Clear referenced paks when disconnecting
---
 MP/code/client/cl_main.c | 1 +
 SP/code/client/cl_main.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/MP/code/client/cl_main.c b/MP/code/client/cl_main.c
index 87141b3..50b57fb 100644
--- a/MP/code/client/cl_main.c
+++ b/MP/code/client/cl_main.c
@@ -1543,6 +1543,7 @@ void CL_Disconnect( qboolean showMainMenu ) {
 	
 	// Remove pure paks
 	FS_PureServerSetLoadedPaks("", "");
+	FS_PureServerSetReferencedPaks( "", "" );
 	
 	CL_ClearState ();
 
diff --git a/SP/code/client/cl_main.c b/SP/code/client/cl_main.c
index 62eee87..d2db3a9 100644
--- a/SP/code/client/cl_main.c
+++ b/SP/code/client/cl_main.c
@@ -1469,6 +1469,7 @@ void CL_Disconnect( qboolean showMainMenu ) {
 
 	// Remove pure paks
 	FS_PureServerSetLoadedPaks("", "");
+	FS_PureServerSetReferencedPaks( "", "" );
 
 	CL_ClearState();
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list