File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
addons/sourcemod/scripting Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -336,13 +336,14 @@ void ResetWRs()
336
336
{
337
337
gSM_WRNames .Clear ();
338
338
339
- any empty_cells [TRACKS_SIZE ];
339
+ float fempty_cells [TRACKS_SIZE ];
340
+ int iempty_cells [TRACKS_SIZE ];
340
341
341
342
for (int i = 0 ; i < gI_Styles ; i ++ )
342
343
{
343
- gF_WRTime [i ] = empty_cells ;
344
- gI_WRRecordID [i ] = empty_cells ;
345
- gI_WRSteamID [i ] = empty_cells ;
344
+ gF_WRTime [i ] = fempty_cells ;
345
+ gI_WRRecordID [i ] = iempty_cells ;
346
+ gI_WRSteamID [i ] = iempty_cells ;
346
347
}
347
348
}
348
349
@@ -486,12 +487,13 @@ public void OnClientConnected(int client)
486
487
487
488
gB_LoadedCache [client ] = false ;
488
489
489
- any empty_cells [TRACKS_SIZE ];
490
+ float fempty_cells [TRACKS_SIZE ];
491
+ int iempty_cells [TRACKS_SIZE ];
490
492
491
493
for (int i = 0 ; i < gI_Styles ; i ++ )
492
494
{
493
- gF_PlayerRecord [client ][i ] = empty_cells ;
494
- gI_PlayerCompletion [client ][i ] = empty_cells ;
495
+ gF_PlayerRecord [client ][i ] = fempty_cells ;
496
+ gI_PlayerCompletion [client ][i ] = iempty_cells ;
495
497
}
496
498
}
497
499
You can’t perform that action at this time.
0 commit comments