r2301 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Apr 11 14:29:46 EDT 2007


Author: div0
Date: 2007-04-11 14:29:46 -0400 (Wed, 11 Apr 2007)
New Revision: 2301

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
oops, this was meant to be local only


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2007-04-11 17:39:28 UTC (rev 2300)
+++ trunk/data/qcsrc/server/g_world.qc	2007-04-11 18:29:46 UTC (rev 2301)
@@ -2030,42 +2030,6 @@
 
 
 
-float beamindex_modulo;
 void EndFrame()
 {
-	entity e;
-	string value;
-	vector mi, ma;
-	float i;
-
-	value = cvar_string("_entityboxes_for");
-	if(value == "")
-		return;
-
-	i = beamindex_modulo;
-	beamindex_modulo += 1;
-	if(beamindex_modulo >= 32)
-		beamindex_modulo = 0;
-	for(e = world; (e = find(e, classname, value)) != world; )
-	{
-		mi = e.absmin;
-		ma = e.absmax;
-		i = i + 1;
-		if(i >= 32)
-		{
-			i = 0;
-			te_lightning1(world, mi_x * '1 0 0' + mi_y * '0 1 0' + mi_z * '0 0 1', ma_x * '1 0 0' + mi_y * '0 1 0' + mi_z * '0 0 1');
-			te_lightning1(world, mi_x * '1 0 0' + mi_y * '0 1 0' + ma_z * '0 0 1', ma_x * '1 0 0' + mi_y * '0 1 0' + ma_z * '0 0 1');
-			te_lightning1(world, mi_x * '1 0 0' + ma_y * '0 1 0' + mi_z * '0 0 1', ma_x * '1 0 0' + ma_y * '0 1 0' + mi_z * '0 0 1');
-			te_lightning1(world, mi_x * '1 0 0' + ma_y * '0 1 0' + ma_z * '0 0 1', ma_x * '1 0 0' + ma_y * '0 1 0' + ma_z * '0 0 1');
-			te_lightning1(world, mi_x * '1 0 0' + mi_y * '0 1 0' + mi_z * '0 0 1', mi_x * '1 0 0' + ma_y * '0 1 0' + mi_z * '0 0 1');
-			te_lightning1(world, mi_x * '1 0 0' + mi_y * '0 1 0' + ma_z * '0 0 1', mi_x * '1 0 0' + ma_y * '0 1 0' + ma_z * '0 0 1');
-			te_lightning1(world, ma_x * '1 0 0' + mi_y * '0 1 0' + mi_z * '0 0 1', ma_x * '1 0 0' + ma_y * '0 1 0' + mi_z * '0 0 1');
-			te_lightning1(world, ma_x * '1 0 0' + mi_y * '0 1 0' + ma_z * '0 0 1', ma_x * '1 0 0' + ma_y * '0 1 0' + ma_z * '0 0 1');
-			te_lightning1(world, mi_x * '1 0 0' + mi_y * '0 1 0' + mi_z * '0 0 1', mi_x * '1 0 0' + mi_y * '0 1 0' + ma_z * '0 0 1');
-			te_lightning1(world, mi_x * '1 0 0' + ma_y * '0 1 0' + mi_z * '0 0 1', mi_x * '1 0 0' + ma_y * '0 1 0' + ma_z * '0 0 1');
-			te_lightning1(world, ma_x * '1 0 0' + mi_y * '0 1 0' + mi_z * '0 0 1', ma_x * '1 0 0' + mi_y * '0 1 0' + ma_z * '0 0 1');
-			te_lightning1(world, ma_x * '1 0 0' + ma_y * '0 1 0' + mi_z * '0 0 1', ma_x * '1 0 0' + ma_y * '0 1 0' + ma_z * '0 0 1');
-		}
-	}
 }




More information about the nexuiz-commits mailing list