servertics_pak.starttic -> UINT8

This commit is contained in:
James R 2020-08-24 19:48:11 -07:00
parent 3db9902829
commit 48d071451e
2 changed files with 2 additions and 2 deletions

View file

@ -5387,7 +5387,7 @@ static void SV_SendTics(void)
// Send the tics
netbuffer->packettype = PT_SERVERTICS;
netbuffer->u.serverpak.starttic = realfirsttic;
netbuffer->u.serverpak.starttic = (UINT8)realfirsttic;
netbuffer->u.serverpak.numtics = (UINT8)(lasttictosend - realfirsttic);
netbuffer->u.serverpak.numslots = (UINT8)SHORT(doomcom->numslots);
bufpos = (UINT8 *)&netbuffer->u.serverpak.cmds;

View file

@ -167,7 +167,7 @@ typedef struct
// this packet is too large
typedef struct
{
tic_t starttic;
UINT8 starttic;
UINT8 numtics;
UINT8 numslots; // "Slots filled": Highest player number in use plus one.
ticcmd_t cmds[45]; // Normally [BACKUPTIC][MAXPLAYERS] but too large