r722 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Apr 23 16:04:43 EDT 2006


Author: thilo
Date: 2006-04-23 16:04:42 -0400 (Sun, 23 Apr 2006)
New Revision: 722

Modified:
   trunk/code/qcommon/files.c
Log:
Fix didn't work yet because it didn't use the buffer where the filename extension chop-off is done. D'oh!


Modified: trunk/code/qcommon/files.c
===================================================================
--- trunk/code/qcommon/files.c	2006-04-23 18:04:51 UTC (rev 721)
+++ trunk/code/qcommon/files.c	2006-04-23 20:04:42 UTC (rev 722)
@@ -2565,7 +2565,7 @@
 		*pakptr = '\0';
 
 	for (i = 0; i < NUM_ID_PAKS; i++) {
-		if ( !FS_FilenameCompare(pak, va("%s/pak%d", base, i)) ) {
+		if ( !FS_FilenameCompare(pakbuf, va("%s/pak%d", base, i)) ) {
 			break;
 		}
 	}




More information about the quake3-commits mailing list