From fe42e496a7bdcbb5b88fd30d5586f65ae51684b2 Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 26 May 2017 07:47:13 +0100 Subject: [PATCH] Cap the speed of a surrendering vessel, so that they don't become a chore to chase down. --- src/battle/ai.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/battle/ai.c b/src/battle/ai.c index 218f20b..f4197d4 100644 --- a/src/battle/ai.c +++ b/src/battle/ai.c @@ -647,6 +647,7 @@ static void doSurrender(void) { self->aiFlags &= ~AIF_SURRENDERING; self->aiFlags |= AIF_SURRENDERED; + self->speed = 1.5; nextAction(); }