engine: server: don't pass uninitialized pointers to the server DLL in SetupVisibility function

This commit is contained in:
Alibek Omarov
2025-10-17 14:54:52 +05:00
parent 7315865d34
commit ea2c864265

View File

@@ -58,8 +58,8 @@ SV_AddEntitiesToPacket
static void SV_AddEntitiesToPacket( edict_t *pViewEnt, edict_t *pClient, client_frame_t *frame, sv_ents_t *ents, qboolean from_client )
{
edict_t *ent;
byte *clientpvs;
byte *clientphs;
byte *clientpvs = NULL;
byte *clientphs = NULL;
qboolean fullvis = false;
sv_client_t *cl = NULL;
qboolean player;