Don't let corpses move through plats by standing on the corpse.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3544 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2010-07-11 12:13:40 +00:00
parent 16c45dca6e
commit 8a6c820003

View file

@ -905,7 +905,7 @@ wedict_t *World_TestEntityPosition (world_t *w, wedict_t *ent)
{
trace_t trace;
trace = World_Move (w, ent->v->origin, ent->v->mins, ent->v->maxs, ent->v->origin, 0, ent);
trace = World_Move (w, ent->v->origin, ent->v->mins, ent->v->maxs, ent->v->origin, ((ent->v->solid == SOLID_NOT || ent->v->solid == SOLID_TRIGGER)?MOVE_NOMONSTERS:0), ent);
if (trace.startsolid)
return w->edicts;
@ -1139,12 +1139,6 @@ static trace_t World_ClipMoveToEntity (world_t *w, wedict_t *ent, vec3_t eorg, v
TransformedTrace(model, hullnum, ent->v->frame, start, end, mins, maxs, &trace, eorg, ent->v->angles);
}
}
if (trace.startsolid)
{
if (ent != w->edicts)
Con_Printf("Trace started solid\n");
}
}
// did we clip the move?