From f2ad1f387ce47bbdbc0a3a3714d2b4035e66640d Mon Sep 17 00:00:00 2001 From: Shpoike Date: Wed, 8 Sep 2021 00:11:30 +0100 Subject: [PATCH] Fix weird corpses-are-rotating bug. --- Quake/world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quake/world.c b/Quake/world.c index 32d9d752..d8c06f88 100644 --- a/Quake/world.c +++ b/Quake/world.c @@ -606,7 +606,7 @@ edict_t *SV_TestEntityPosition (edict_t *ent) { trace_t trace; - trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, ent->v.origin, 0, ent); + trace = SV_Move (ent->v.origin, ent->v.mins, ent->v.maxs, ent->v.origin, ((ent->v.solid == SOLID_NOT || ent->v.solid == SOLID_TRIGGER || ent->v.solid == SOLID_EXT_BSPTRIGGER)?MOVE_NOMONSTERS:0), ent); if (trace.startsolid) return qcvm->edicts;