[iortcw] 26/497: MP: Use upper-case for Punkbuster cl_guid like vanilla client

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:07 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 ee12f9446141f416f529999200d5910bbb5dcfc8
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Sat Jan 25 19:59:50 2014 +0000

    MP: Use upper-case for Punkbuster cl_guid like vanilla client
---
 MP/code/qcommon/pbmd5.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/MP/code/qcommon/pbmd5.c b/MP/code/qcommon/pbmd5.c
index 007322d..3e8d783 100644
--- a/MP/code/qcommon/pbmd5.c
+++ b/MP/code/qcommon/pbmd5.c
@@ -319,6 +319,7 @@ int get_num( char *str, int *len );
 
 char *Com_PBMD5File( char *key ) {
 	char    *k;
+	char	*guid;
 
 	k = key;
 
@@ -330,9 +331,10 @@ char *Com_PBMD5File( char *key ) {
 	// Process second seed
 	k = do_md5x( k, 32, get_num( "0x00051a56", NULL ) );
 
-//	Com_DPrintf( "%s\n", k );
+	guid = Q_strupr( k );
+//	Com_DPrintf( "%s\n", guid );
 
-	return k;
+	return guid;
 }
 
 

-- 
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