diff --git a/quakespasm/Quake/cl_input.c b/quakespasm/Quake/cl_input.c index 2cbdbbe4..41f0d969 100644 --- a/quakespasm/Quake/cl_input.c +++ b/quakespasm/Quake/cl_input.c @@ -339,7 +339,7 @@ void CL_BaseMove (usercmd_t *cmd) CL_SendMove ============== */ -void CL_SendMove (usercmd_t *cmd) +void CL_SendMove (const usercmd_t *cmd) { int i; int bits; diff --git a/quakespasm/Quake/cl_main.c b/quakespasm/Quake/cl_main.c index 1a5d34fc..4b89f498 100644 --- a/quakespasm/Quake/cl_main.c +++ b/quakespasm/Quake/cl_main.c @@ -703,12 +703,12 @@ void CL_SendCmd (void) if (!NET_CanSendMessage (cls.netcon)) { - Con_DPrintf ("CL_WriteToServer: can't send\n"); + Con_DPrintf ("CL_SendCmd: can't send\n"); return; } if (NET_SendMessage (cls.netcon, &cls.message) == -1) - Host_Error ("CL_WriteToServer: lost server connection"); + Host_Error ("CL_SendCmd: lost server connection"); SZ_Clear (&cls.message); } diff --git a/quakespasm/Quake/client.h b/quakespasm/Quake/client.h index 2440bb24..a87f98a8 100644 --- a/quakespasm/Quake/client.h +++ b/quakespasm/Quake/client.h @@ -320,19 +320,15 @@ extern kbutton_t in_speed; void CL_InitInput (void); void CL_SendCmd (void); -void CL_SendMove (usercmd_t *cmd); +void CL_SendMove (const usercmd_t *cmd); +int CL_ReadFromServer (void); +void CL_BaseMove (usercmd_t *cmd); void CL_ParseTEnt (void); void CL_UpdateTEnts (void); void CL_ClearState (void); - -int CL_ReadFromServer (void); -void CL_WriteToServer (usercmd_t *cmd); -void CL_BaseMove (usercmd_t *cmd); - - float CL_KeyState (kbutton_t *key); const char *Key_KeynumToString (int keynum);