diff --git a/src/battle/fighters.c b/src/battle/fighters.c index 120d324..1e11d98 100644 --- a/src/battle/fighters.c +++ b/src/battle/fighters.c @@ -658,6 +658,8 @@ void retreatEnemies(void) e->aiFlags &= ~AIF_MOVES_TO_LEADER; e->aiFlags &= ~AIF_WANDERS; + e->aiActionTime = MIN(e->aiActionTime, FPS); + if (!game.currentMission->challengeData.isChallenge) { e->aiFlags |= AIF_GOAL_JUMPGATE; @@ -683,6 +685,8 @@ void retreatAllies(void) e->aiFlags &= ~AIF_MOVES_TO_LEADER; e->aiFlags &= ~AIF_WANDERS; + e->aiActionTime = MIN(e->aiActionTime, FPS); + if (!game.currentMission->challengeData.isChallenge) { e->aiFlags |= AIF_GOAL_JUMPGATE;