From 1a78b3548c29b1814c48c4538b20f71e8379087b Mon Sep 17 00:00:00 2001
From: lachwright <lachlanwright17@gmail.com>
Date: Tue, 31 Dec 2019 16:54:52 +0800
Subject: [PATCH] Remove flight indicator on death as well

---
 src/b_bot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/b_bot.c b/src/b_bot.c
index dba156b276..64cb00e7e2 100644
--- a/src/b_bot.c
+++ b/src/b_bot.c
@@ -552,7 +552,7 @@ void B_HandleFlightIndicator(player_t *player)
 	if (!tails)
 		return;
 
-	if (thinkfly && player->bot == 1)
+	if (thinkfly && player->bot == 1 && tails->health)
 	{
 		if (!tails->hnext)
 		{
-- 
GitLab