From 9eeaef2e32c90d2c23a314c2cd99a0b72dde0f0a Mon Sep 17 00:00:00 2001
From: Shane Ellis <cobaltbw@gmail.com>
Date: Fri, 15 Jan 2021 16:55:49 -0500
Subject: [PATCH] Exception made in R_SkinUsable() for player bot types

---
 src/r_skins.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/r_skins.c b/src/r_skins.c
index 6f150f234e..155a64700c 100644
--- a/src/r_skins.c
+++ b/src/r_skins.c
@@ -198,6 +198,7 @@ boolean R_SkinUsable(INT32 playernum, INT32 skinnum)
 		|| (Playing() && (R_SkinAvailable(mapheaderinfo[gamemap-1]->forcecharacter) == skinnum)) // Force 1.
 		|| (netgame && (cv_forceskin.value == skinnum)) // Force 2.
 		|| (metalrecording && skinnum == 5) // Force 3.
+		|| players[playernum].bot //Force (player is a bot)
 		);
 }
 
@@ -511,10 +512,6 @@ static boolean R_ProcessPatchableFields(skin_t *skin, char *stoken, char *value)
 	GETFLAG(MULTIABILITY)
 	GETFLAG(NONIGHTSROTATION)
 	GETFLAG(NONIGHTSSUPER)
-	GETFLAG(NOSUPERSPRITES)
-	GETFLAG(NOSUPERJUMPBOOST)
-	GETFLAG(CANBUSTWALLS)
-	GETFLAG(NOSHIELDABILITY)
 #undef GETFLAG
 
 	else // let's check if it's a sound, otherwise error out
-- 
GitLab