enable spread on weapons
authorlordhavoc <lordhavoc@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sat, 14 Nov 2009 14:56:36 +0000 (14:56 +0000)
committerlordhavoc <lordhavoc@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sat, 14 Nov 2009 14:56:36 +0000 (14:56 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8277 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/qcsrc/server/cl_weaponsystem.qc

index b0a2758..9c39182 100644 (file)
@@ -1475,7 +1475,9 @@ void W_SetupProjectileVelocityEx(entity missile, vector dir, vector upDir, float
                mspercallsstyle = cvar("g_projectiles_spread_style");
        }
        mspercallsum -= gettime(GETTIME_HIRES);
+#endif
        dir = W_CalculateProjectileSpread(dir, spread);
+#if 0
        mspercallsum += gettime(GETTIME_HIRES);
        mspercallcount += 1;
        print("avg: ", ftos(mspercallcount / mspercallsum), " per sec\n");