Mark these as NULL on init
These can cause garbage read in some rare cases
This commit is contained in:
parent
e51325f67d
commit
6fc3a62f09
1 changed files with 2 additions and 1 deletions
|
|
@ -10589,7 +10589,8 @@ UINT32 clusterid = 0;
|
|||
static vector3_t* K_FindPlayerCluster(vector3_t* out)
|
||||
{
|
||||
INT32 i;
|
||||
player_t *player, *leader;
|
||||
player_t *player = NULL;
|
||||
player_t *leader = NULL;
|
||||
|
||||
INT32 nump = 0;
|
||||
INT64 distavg = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue