Fix monsters blocking when not on ground entity

This bug was "fixed" by id with removing two lines in the ground entity
check. When cleaning up the game I added them back... I don't know if
it's really correct to just remove them, but let's try it. This fixes
issue #157.
This commit is contained in:
Yamagi Burmeister 2016-10-31 11:51:07 +01:00
parent e0b1f98f40
commit 882297c33e

View file

@ -257,11 +257,6 @@ M_CheckGround(edict_t *ent)
return; return;
} }
/* This two lines were commented out
by id. But why? */
ent->groundentity = trace.ent;
ent->groundentity_linkcount = trace.ent->linkcount;
if (!trace.startsolid && !trace.allsolid) if (!trace.startsolid && !trace.allsolid)
{ {
VectorCopy(trace.endpos, ent->s.origin); VectorCopy(trace.endpos, ent->s.origin);