[nexuiz-commits] r8224 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Nov 7 13:28:11 EST 2009


Author: div0
Date: 2009-11-07 13:28:10 -0500 (Sat, 07 Nov 2009)
New Revision: 8224

Modified:
   trunk/data/qcsrc/server/w_common.qc
Log:
remove an unused function


Modified: trunk/data/qcsrc/server/w_common.qc
===================================================================
--- trunk/data/qcsrc/server/w_common.qc	2009-11-07 17:17:43 UTC (rev 8223)
+++ trunk/data/qcsrc/server/w_common.qc	2009-11-07 18:28:10 UTC (rev 8224)
@@ -260,16 +260,6 @@
 	UpdateCSQCProjectile(self);
 }
 
-// a fake logarithm function
-float log(float x)
-{
-	if(x < 0.0001)
-		return 0;
-	if(x > 0.9 && x < 1.1)
-		return x - 1;
-	return 2 * log(sqrt(x));
-}
-
 float W_BallisticBullet_LeaveSolid(entity e, vector vel, float constant)
 {
 	// move the entity along its velocity until it's out of solid, then let it resume



More information about the nexuiz-commits mailing list