]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix dpmod shell casings spinning on the floor by disabling the
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 31 Oct 2011 06:52:07 +0000 (06:52 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 31 Oct 2011 06:52:07 +0000 (06:52 +0000)
velocity-change-is-a-teleport logic in SV_PushEntity

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

sv_phys.c

index a206a946a770f83a3b73c5a9f6432be293d98160..b30ec499cdff11375624394f475efa96b8dfb65d 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -1652,7 +1652,7 @@ static qboolean SV_PushEntity (trace_t *trace, prvm_edict_t *ent, vec3_t push, q
        if((PRVM_serveredictfloat(ent, solid) >= SOLID_TRIGGER && trace->ent && (!((int)PRVM_serveredictfloat(ent, flags) & FL_ONGROUND) || PRVM_serveredictedict(ent, groundentity) != PRVM_EDICT_TO_PROG(trace->ent))))
                SV_Impact (ent, trace);
 
-       return VectorCompare(PRVM_serveredictvector(ent, origin), original) && VectorCompare(PRVM_serveredictvector(ent, velocity), original_velocity);
+       return VectorCompare(PRVM_serveredictvector(ent, origin), original);// && VectorCompare(PRVM_serveredictvector(ent, velocity), original_velocity);
 }