2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-29 16:15:47 +03:00

fix pointer symbols

This commit is contained in:
Sergey Shorokhov 2021-10-22 22:02:14 +03:00
parent ed83cb6c50
commit 22a00eff89
2 changed files with 4 additions and 4 deletions

View File

@ -557,8 +557,8 @@ qboolean SV_ShouldUpdatePing(client_t *client);
NOXREF qboolean SV_HasEventsInQueue(client_t *client); NOXREF qboolean SV_HasEventsInQueue(client_t *client);
void SV_GetNetInfo(client_t *client, int *ping, int *packet_loss); void SV_GetNetInfo(client_t *client, int *ping, int *packet_loss);
int SV_CheckVisibility(edict_t *entity, unsigned char *pset); int SV_CheckVisibility(edict_t *entity, unsigned char *pset);
void SV_EmitPings(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_EmitPings_internal(client_t *client, sizebuf_t *msg);
void SV_WriteEntitiesToClient(client_t *client, sizebuf_t *msg); void SV_WriteEntitiesToClient(client_t *client, sizebuf_t *msg);
void SV_CleanupEnts(void); void SV_CleanupEnts(void);
qboolean SV_SendClientDatagram(client_t *client); qboolean SV_SendClientDatagram(client_t *client);

View File

@ -4571,11 +4571,11 @@ void EXT_FUNC SV_EmitPings_hook(IGameClient *cl, sizebuf_t *msg)
SV_EmitPings_internal(cl->GetClient(), 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); 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 ping;
int packet_loss; int packet_loss;