remove an unused function
authordiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sat, 7 Nov 2009 18:28:10 +0000 (18:28 +0000)
committerdiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sat, 7 Nov 2009 18:28:10 +0000 (18:28 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8224 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/qcsrc/server/w_common.qc

index 8a7b677..33de174 100644 (file)
@@ -260,16 +260,6 @@ void W_BallisticBullet_LeaveSolid_think()
        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