mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 12:41:21 +00:00
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:
parent
e0b1f98f40
commit
882297c33e
1 changed files with 0 additions and 5 deletions
|
@ -257,11 +257,6 @@ M_CheckGround(edict_t *ent)
|
|||
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)
|
||||
{
|
||||
VectorCopy(trace.endpos, ent->s.origin);
|
||||
|
|
Loading…
Reference in a new issue