Merge pull request #45 from BjossiAlfreds/sidestep

Fixed monsters not sidestepping
This commit is contained in:
Yamagi 2019-09-28 16:58:01 +02:00 committed by GitHub
commit 6ba4d9d803
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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))