mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-27 23:25:45 +03:00
Fixed head hull detection in SV_HullForBsp (#525)
This commit is contained in:
parent
e5d26bc4d2
commit
9594150810
@ -197,7 +197,11 @@ hull_t *SV_HullForBsp(edict_t *ent, const vec_t *mins, const vec_t *maxs, vec_t
|
||||
{
|
||||
if (size[0] <= 36.0f)
|
||||
{
|
||||
#ifdef REHLDS_FIXES
|
||||
if (size[2] <= (player_maxs[1][2] - player_mins[1][2]))
|
||||
#else
|
||||
if (size[2] <= 36.0f)
|
||||
#endif
|
||||
hull = &model->hulls[3];
|
||||
else
|
||||
hull = &model->hulls[1];
|
||||
|
Loading…
Reference in New Issue
Block a user