diff --git a/rehlds/engine/server.h b/rehlds/engine/server.h index 3fb0f78..53792cf 100644 --- a/rehlds/engine/server.h +++ b/rehlds/engine/server.h @@ -557,8 +557,8 @@ qboolean SV_ShouldUpdatePing(client_t *client); NOXREF qboolean SV_HasEventsInQueue(client_t *client); void SV_GetNetInfo(client_t *client, int *ping, int *packet_loss); int SV_CheckVisibility(edict_t *entity, unsigned char *pset); -void SV_EmitPings(client_t* client, sizebuf_t* msg); -void SV_EmitPings_internal(client_t*client, sizebuf_t *msg); +void SV_EmitPings(client_t *client, sizebuf_t *msg); +void SV_EmitPings_internal(client_t *client, sizebuf_t *msg); void SV_WriteEntitiesToClient(client_t *client, sizebuf_t *msg); void SV_CleanupEnts(void); qboolean SV_SendClientDatagram(client_t *client); diff --git a/rehlds/engine/sv_main.cpp b/rehlds/engine/sv_main.cpp index 68dcc23..9c9ce29 100644 --- a/rehlds/engine/sv_main.cpp +++ b/rehlds/engine/sv_main.cpp @@ -4571,11 +4571,11 @@ void EXT_FUNC SV_EmitPings_hook(IGameClient *cl, sizebuf_t *msg) SV_EmitPings_internal(cl->GetClient(), msg); } -void SV_EmitPings(client_t* client, sizebuf_t* msg) { +void SV_EmitPings(client_t *client, sizebuf_t *msg) { g_RehldsHookchains.m_SV_EmitPings.callChain(SV_EmitPings_hook, GetRehldsApiClient(client), msg); } -void EXT_FUNC SV_EmitPings_internal(client_t* client, sizebuf_t* msg) +void EXT_FUNC SV_EmitPings_internal(client_t *client, sizebuf_t *msg) { int ping; int packet_loss;