From 393e7e1593a2fe045a3ed042dafe71f1ae028ce2 Mon Sep 17 00:00:00 2001
From: FreakyMutantMan <freakymutantman@gmail.com>
Date: Thu, 1 May 2025 15:50:29 -0700
Subject: [PATCH] Changed NUMSPRITEFREESLOTS to (NUMMOBJFREESLOTS+MAXFOLLOWERS)
 at toaster's suggestion.

---
 src/info.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/info.h b/src/info.h
index cc50fd4be..d527ddfaa 100644
--- a/src/info.h
+++ b/src/info.h
@@ -562,7 +562,7 @@ extern boolean actionsoverridden[NUMACTIONS];
 
 // ratio of states to sprites to mobj types is roughly 6 : 1 : 1
 #define NUMMOBJFREESLOTS 1024
-#define NUMSPRITEFREESLOTS (NUMMOBJFREESLOTS*2)
+#define NUMSPRITEFREESLOTS (NUMMOBJFREESLOTS+MAXFOLLOWERS)
 #define NUMSTATEFREESLOTS (NUMMOBJFREESLOTS*8)
 
 // Hey, moron! If you change this table, don't forget about sprnames in info.c and the sprite lights in hw_light.c!
-- 
GitLab