From 117d42f1806dcd2a6117be4eda7ac24e01679553 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Thu, 27 Jun 2024 07:30:47 +0000 Subject: [PATCH] Make this UINT16_MAX This should be fine. --- src/doomdef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doomdef.h b/src/doomdef.h index 4cd1f390..cb5c780f 100644 --- a/src/doomdef.h +++ b/src/doomdef.h @@ -227,7 +227,7 @@ extern char logfilename[1024]; // NOTE: it needs more than this to increase the number of players... #define MAXPLAYERS 16 -#define MAXSKINS UINT16_MAX-1 +#define MAXSKINS UINT16_MAX #define PLAYERSMASK (MAXPLAYERS-1) #define MAXPLAYERNAME 21