Fixed monsters not sidestepping

This commit is contained in:
BjossiAlfreds 2019-09-27 23:33:01 +00:00
parent f24de8d323
commit 6687001212

View file

@ -1122,7 +1122,7 @@ ai_run_slide(edict_t *self, float distance)
/* clamp maximum sideways move for non flyers to make them look less jerky */
if (!(self->flags & FL_FLY))
{
distance = min(distance, 0.8);
distance = min(distance, 8.0);
}
if (M_walkmove(self, self->ideal_yaw + ofs, distance))