r5590 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Jan 17 13:12:49 EST 2009


Author: div0
Date: 2009-01-17 13:12:49 -0500 (Sat, 17 Jan 2009)
New Revision: 5590

Modified:
   trunk/data/qcsrc/client/Main.qc
   trunk/data/qcsrc/client/miscfunctions.qc
Log:
register weapon info only ONCE


Modified: trunk/data/qcsrc/client/Main.qc
===================================================================
--- trunk/data/qcsrc/client/Main.qc	2009-01-17 18:02:34 UTC (rev 5589)
+++ trunk/data/qcsrc/client/Main.qc	2009-01-17 18:12:49 UTC (rev 5590)
@@ -130,6 +130,8 @@
 	if(v_y - 240 > -1)
 		cs_project_is_b0rked = FALSE;
 
+	RegisterWeapons();
+
 	WaypointSprite_Load();
 
 	Projectile_Precache();

Modified: trunk/data/qcsrc/client/miscfunctions.qc
===================================================================
--- trunk/data/qcsrc/client/miscfunctions.qc	2009-01-17 18:02:34 UTC (rev 5589)
+++ trunk/data/qcsrc/client/miscfunctions.qc	2009-01-17 18:12:49 UTC (rev 5590)
@@ -21,7 +21,6 @@
 		if(prev != e.sort_prev)
 			error(strcat("sort list chain error\nplease submit the output of 'prvm_edicts client' to the developers"));
 	}
-	RegisterWeapons();
 }
 
 




More information about the nexuiz-commits mailing list