[quake3-commits] r2215 - trunk/code/ui

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Jan 17 17:38:50 EST 2012


Author: ztm
Date: 2012-01-17 17:38:49 -0500 (Tue, 17 Jan 2012)
New Revision: 2215

Modified:
   trunk/code/ui/ui_main.c
Log:
Fixed UI to use MAX_QPATH for skin filename buffer length.

Modified: trunk/code/ui/ui_main.c
===================================================================
--- trunk/code/ui/ui_main.c	2011-12-25 09:07:36 UTC (rev 2214)
+++ trunk/code/ui/ui_main.c	2012-01-17 22:38:49 UTC (rev 2215)
@@ -3608,7 +3608,7 @@
 }
 
 qboolean UI_hasSkinForBase(const char *base, const char *team) {
-	char	test[1024];
+	char	test[MAX_QPATH];
 	
 	Com_sprintf( test, sizeof( test ), "models/players/%s/%s/lower_default.skin", base, team );
 



More information about the quake3-commits mailing list