Fix function name

This commit is contained in:
LJ Sonic 2023-01-14 15:14:09 +01:00
parent aa18d5c3ff
commit 530a03cc7d
3 changed files with 3 additions and 3 deletions

View file

@ -304,7 +304,7 @@ void PT_TextCmd(SINT8 node, INT32 netconsole)
}
}
void SV_CopyNetCommandsToServerPacket(tic_t tic)
void CL_CopyNetCommandsFromServerPacket(tic_t tic)
{
servertics_pak *packet = &netbuffer->u.serverpak;
UINT8 *cmds = (UINT8*)&packet->cmds[packet->numslots * packet->numtics];

View file

@ -57,7 +57,7 @@ void ExtraDataTicker(void);
size_t TotalTextCmdPerTic(tic_t tic);
void PT_TextCmd(SINT8 node, INT32 netconsole);
void SV_CopyNetCommandsToServerPacket(tic_t tic);
void CL_CopyNetCommandsFromServerPacket(tic_t tic);
void CL_SendNetCommands(void);
void SendKick(UINT8 playernum, UINT8 msg);
void SendKicksForNode(SINT8 node, UINT8 msg);

View file

@ -246,7 +246,7 @@ void PT_ServerTics(SINT8 node, INT32 netconsole)
pak = G_ScpyTiccmd(netcmds[i%BACKUPTICS], pak,
netbuffer->u.serverpak.numslots*sizeof (ticcmd_t));
SV_CopyNetCommandsToServerPacket(i);
CL_CopyNetCommandsFromServerPacket(i);
}
neededtic = realend;