From 4e4040fc17df756ddead1583c5b913dd547b6a3e Mon Sep 17 00:00:00 2001 From: Steve Date: Sat, 14 Nov 2015 11:43:06 +0000 Subject: [PATCH] Missiles will no longer select a new target if their original is destroyed. --- src/battle/bullets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle/bullets.c b/src/battle/bullets.c index c74e1a7..1cbc624 100644 --- a/src/battle/bullets.c +++ b/src/battle/bullets.c @@ -226,7 +226,7 @@ static void huntTarget(Bullet *b) } else { - b->target = b->owner->target; + b->target = NULL; } }