Increase maximum skin count to 255

This time without spare slots, because I don't see shenanigans like
WAD_MUSIC happening with skin indices. Verified to work by saving a
replay with 139 skins as the 133th skin and playing it back a few times.
Shouldn't cause issues with netcode either because there are no SINT8s
handling skin indices.
This commit is contained in:
X.organic 2022-08-20 14:08:14 +02:00
parent 09ae350603
commit d820b8e0c7
No known key found for this signature in database
GPG key ID: E8A896BE6A3BC4E0

View file

@ -227,7 +227,7 @@ extern char logfilename[1024];
// NOTE: it needs more than this to increase the number of players... // NOTE: it needs more than this to increase the number of players...
#define MAXPLAYERS 16 #define MAXPLAYERS 16
#define MAXSKINS 128 #define MAXSKINS 255
#define PLAYERSMASK (MAXPLAYERS-1) #define PLAYERSMASK (MAXPLAYERS-1)
#define MAXPLAYERNAME 21 #define MAXPLAYERNAME 21