From 79608069af98951aaa639a7e6ae7a09ad2dfc68b Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 30 Nov 2015 11:30:11 +0000 Subject: [PATCH] Missile boats will fire a little more often. --- src/battle/ai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle/ai.c b/src/battle/ai.c index fd6a10a..03e6ac1 100644 --- a/src/battle/ai.c +++ b/src/battle/ai.c @@ -366,7 +366,7 @@ static void preAttack(void) self->reload = FPS; /* don't constantly fire rockets like normal guns */ - if (rand() % 5) + if (rand() % 3) { self->action = doAI; }