]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
fix NaN velocity that always occurred when standing still because
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 19 Aug 2008 08:10:46 +0000 (08:10 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 19 Aug 2008 08:10:46 +0000 (08:10 +0000)
commite092dca7b6a4a8a9df922df2276c16766e944502
tree7bde426cfde4dd254f3efdc9a20ea57d84c3e37b
parent1a8f8b37c07a75324cc298e2188356618dfb7635
fix NaN velocity that always occurred when standing still because
VectorLength was being used in a divide without checking if it was
already 0

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8456 d7cf8633-e32d-0410-b094-e92efae38249
cl_input.c