]> icculus.org git repositories - divverent/nexuiz.git/commit
changed weapon_nextthink and ATTACK_FINISHED update checks to use a
authorlordhavoc <lordhavoc@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Thu, 14 Feb 2008 02:45:05 +0000 (02:45 +0000)
committerlordhavoc <lordhavoc@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Thu, 14 Feb 2008 02:45:05 +0000 (02:45 +0000)
commit1de0067b73c4df92390a38333c6c6bf6e54b0599
tree759b13f926a26e3694163a107c7a3d40ef06faaf
parent5dc70f8349bd229cfead3e9d88edc91fe7653d2f
changed weapon_nextthink and ATTACK_FINISHED update checks to use a
slightly different check for burst firing:
self.weapon_nextthink < time - frametime * 1.5
this ought to avoid rounding errors on the comparisons that might be
responsible for varying fire rates

git-svn-id: svn://svn.icculus.org/nexuiz/trunk@3376 f962a42d-fe04-0410-a3ab-8c8b0445ebaa
data/qcsrc/server/cl_weaponsystem.qc