diff --git a/src/battle/ai.c b/src/battle/ai.c index f3da7e6..39d4d4c 100644 --- a/src/battle/ai.c +++ b/src/battle/ai.c @@ -885,6 +885,7 @@ static int lookForLeader(void) { self->aiActionTime = FPS; self->action = moveToLeader; + self->aiActionTime = FPS + (rand() % FPS); return 1; } @@ -909,9 +910,6 @@ static void moveToLeader(void) self->speed = sqrt(self->leader->thrust); applyFighterThrust(); self->speed = oldSpeed; - - /* don't all react at once */ - self->aiActionTime = FPS + (rand() % FPS); } else {