mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
Fix weird corpses-are-rotating bug.
This commit is contained in:
parent
fb0f83ca00
commit
f2ad1f387c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue