From 3c0cb1c10dcd023d633ef18a24d458d7a3bdc1de Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 31 Oct 2011 06:52:07 +0000 Subject: [PATCH] fix dpmod shell casings spinning on the floor by disabling the 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sv_phys.c b/sv_phys.c index a206a946..b30ec499 100644 --- 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); } -- 2.39.2