From 9d870ea31dc4015d45bc88ee3240ff7c26f94323 Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Sat, 6 Aug 2016 13:53:16 +0100 Subject: [PATCH] Enabling patch.dta, and also upping the number of SPR2_ slots (not just freeslots) to be equivalent to FF_FRAMEMASK. --- src/doomdef.h | 2 +- src/info.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doomdef.h b/src/doomdef.h index 4428ef617..a7a722b42 100644 --- a/src/doomdef.h +++ b/src/doomdef.h @@ -158,7 +158,7 @@ extern FILE *logstream; // Does this version require an added patch file? // Comment or uncomment this as necessary. -//#define USE_PATCH_DTA +#define USE_PATCH_DTA // Modification options // If you want to take advantage of the Master Server's ability to force clients to update diff --git a/src/info.h b/src/info.h index 690f6bbee..beb08a55c 100644 --- a/src/info.h +++ b/src/info.h @@ -632,7 +632,7 @@ enum playersprite SPR2_SFLT, SPR2_FIRSTFREESLOT, - SPR2_LASTFREESLOT = SPR2_FIRSTFREESLOT + NUMSPRITEFREESLOTS - 1, + SPR2_LASTFREESLOT = 0x1ff, // FF_FRAMEMASK (cannot use #define'd constants as enum value...) - previously set to SPR2_FIRSTFREESLOT + NUMSPRITEFREESLOTS - 1, NUMPLAYERSPRITES };