Potential crash when a player with an odd hitbox size dies
There is a piece of logic run when a player is dead:
if(this.death_time == time && IS_DEAD(this))
{
//player's bbox gets resized now, instead of in the damage event that killed the player,
//once all the damage events of this frame have been processed with normal size
this.maxs.z = 5;
setsize(this, this.mins, this.maxs);
}
But this assumes the player's .mins.z is below 5, which with some oddly shaped models is not the case, resulting in a server crash when an oddly shaped player dies.
Edited by Mario