mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 12:01:25 +00:00
Hexen2: Fix suicidal monsters bug (could also break quake too).
This commit is contained in:
parent
56cee8749b
commit
4577ffcbb1
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ qboolean World_CheckBottom (world_t *world, wedict_t *ent, vec3_t up)
|
|||
//quake's hulls are weird. sizes are defined as from mins to mins+hullsize. the actual maxs is ignored other than for its size.
|
||||
hull_t *hull;
|
||||
hull = Q1BSP_ChooseHull(world->worldmodel, ent->xv->hull, ent->v->mins, ent->v->maxs, start);
|
||||
VectorAdd (mins, start, mins);
|
||||
//ignore the hull's offset. the minpoint is the minpoint. lets fix up the size though, just in case.
|
||||
VectorSubtract (mins, hull->clip_mins, maxs);
|
||||
VectorAdd (maxs, hull->clip_maxs, maxs);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue