From 9fec0562c9339a4695dcdcb4c8c7a76437e9fd60 Mon Sep 17 00:00:00 2001 From: Latapostrophe Date: Wed, 10 Jun 2020 23:21:25 +0200 Subject: [PATCH] Don't do anything if you somehow have a negative follower in menus --- src/m_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/m_menu.c b/src/m_menu.c index 194bb8838..a82f97314 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -9638,7 +9638,7 @@ static void M_DrawSetupMultiPlayerMenu(void) static void M_GetFollowerState(void) { - if (setupm_fakefollower == -1 || setupm_fakefollower > numfollowers-1) // yikes, there's none! + if (setupm_fakefollower <= -1 || setupm_fakefollower > numfollowers-1) // yikes, there's none! return; // ^ we don't actually need to set anything since it won't be displayed anyway.