thing saturn 126p does

This commit is contained in:
minenice55 2025-10-17 15:25:21 -04:00
parent 36527b7aa1
commit ff7dea704c
3 changed files with 4 additions and 4 deletions

View file

@ -4495,7 +4495,7 @@ static void HandlePlayerInfo(SINT8 node)
{
(void)node;
doomdata_t *netbuffer = DOOMCOM_DATA(doomcom);
for (INT32 i = 0; i < MAXPLAYERS; i++)
for (INT32 i = 0; i < MSCOMPAT_MAXPLAYERS; i++)
{
playerinfo[i] = netbuffer->u.playerinfo[i];
}

View file

@ -207,7 +207,7 @@ extern char logfilename[1024];
#define ENCOREFADECOLOR 209 // 122
// Master Server compatibility ONLY
#define MSCOMPAT_MAXPLAYERS (42)
#define MSCOMPAT_MAXPLAYERS (32)
// State updates, number of tics / second.
// NOTE: used to setup the timer rate, see I_StartupTimer().

View file

@ -22,10 +22,10 @@
/// \def MAXPACKETLENGTH
/// For use in a LAN
#define MAXPACKETLENGTH 1450
#define MAXPACKETLENGTH 2048
/// \def INETPACKETLENGTH
/// For use on the internet
#define INETPACKETLENGTH 1024
#define INETPACKETLENGTH 1450
#define NO_BAN_TIME (time_t)(-1)