From 22a00eff892c9bee807773120818dc2337f632e8 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Fri, 22 Oct 2021 22:02:14 +0300 Subject: [PATCH] fix pointer symbols --- rehlds/engine/server.h | 4 ++-- rehlds/engine/sv_main.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;