r3969 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Jul 29 02:07:45 EDT 2008


Author: div0
Date: 2008-07-29 02:07:45 -0400 (Tue, 29 Jul 2008)
New Revision: 3969

Modified:
   trunk/data/qcsrc/client/miscfunctions.qc
Log:
add cvar cl_readpicture_force


Modified: trunk/data/qcsrc/client/miscfunctions.qc
===================================================================
--- trunk/data/qcsrc/client/miscfunctions.qc	2008-07-29 06:07:33 UTC (rev 3968)
+++ trunk/data/qcsrc/client/miscfunctions.qc	2008-07-29 06:07:45 UTC (rev 3969)
@@ -162,6 +162,10 @@
 {
 	float f;
 	string file;
+
+	if(cvar("cl_readpicture_force"))
+		return false;
+
 	file = strcat(name, ".tga");
 	f = fopen(file, FILE_READ);
 	if(f >= 0)




More information about the nexuiz-commits mailing list