From 0e9b4acb587491b6f5d0b9c9c898a1c37811de85 Mon Sep 17 00:00:00 2001
From: Shane Ellis <cobaltbw@gmail.com>
Date: Fri, 15 Jan 2021 19:29:03 -0500
Subject: [PATCH] Update g_game.c (Account for bot type 3)

---
 src/g_game.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/g_game.c b/src/g_game.c
index 43906e5589..5e2b4e708d 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -2627,8 +2627,10 @@ void G_PlayerReborn(INT32 player, boolean betweenmaps)
 	p->totalring = totalring;
 
 	p->mare = mare;
-	if (bot)
+	if (bot == 2)
 		p->bot = 1; // reset to AI-controlled
+	else
+		p->bot = bot;
 	p->pity = pity;
 	p->rings = rings;
 	p->spheres = spheres;
-- 
GitLab