mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-10 06:42:21 +00:00
Merge pull request #45 from BjossiAlfreds/sidestep
Fixed monsters not sidestepping
This commit is contained in:
commit
6ba4d9d803
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue