[nexuiz-commits] r8451 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Dec 23 15:33:50 EST 2009


Author: div0
Date: 2009-12-23 15:33:50 -0500 (Wed, 23 Dec 2009)
New Revision: 8451

Modified:
   trunk/data/qcsrc/client/Main.qc
Log:
mark the fog command as untranslatable (example)


Modified: trunk/data/qcsrc/client/Main.qc
===================================================================
--- trunk/data/qcsrc/client/Main.qc	2009-12-23 18:40:59 UTC (rev 8450)
+++ trunk/data/qcsrc/client/Main.qc	2009-12-23 20:33:50 UTC (rev 8451)
@@ -903,12 +903,14 @@
 	centerprint(strMessage);
 }
 
+string notranslate_fogcmd1 = "\nfog ";
+string notranslate_fogcmd2 = "\nr_fog_exp2 0\nr_drawfog 1\n";
 void Fog_Force()
 {
 	// TODO somehow thwart prvm_globalset client ...
 
 	if(forcefog != "")
-		localcmd(strcat("\nfog ", forcefog, "\nr_fog_exp2 0\nr_drawfog 1\n"));
+		localcmd(strcat(notranslate_fogcmd1, forcefog, notranslate_fogcmd2));
 }
 
 void Gamemode_Init();



More information about the nexuiz-commits mailing list