]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_phys.c
Add r_shadow_culllights_trace feature, this culls rtlights by traceline checks simila...
[xonotic/darkplaces.git] / sv_phys.c
index ba15499ad7a0c06f5994b3bc227116aec25b1a95..4ad211bc6053f9e1c3cb79836276915d1aca4e22 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -1036,7 +1036,7 @@ void SV_CheckVelocity (prvm_edict_t *ent)
        // LordHavoc: a hack to ensure that the (rather silly) id1 quakec
        // player_run/player_stand1 does not horribly malfunction if the
        // velocity becomes a denormalized float
-       if (VectorLength2(PRVM_serveredictvector(ent, velocity)) < 0.0001)
+       if (VectorLength2(PRVM_serveredictvector(ent, velocity)) < 0.0000001)
                VectorClear(PRVM_serveredictvector(ent, velocity));
 
        // LordHavoc: max velocity fix, inspired by Maddes's source fixes, but this is faster