mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 05:41:02 +00:00
hardware: init undef vars in HWR_SortVisSprites
This commit is contained in:
parent
fca398ae4d
commit
97f87827f4
1 changed files with 2 additions and 2 deletions
|
@ -4501,8 +4501,8 @@ static void HWR_SortVisSprites(void)
|
||||||
gr_vissprite_t *ds, *dsprev, *dsnext, *dsfirst;
|
gr_vissprite_t *ds, *dsprev, *dsnext, *dsfirst;
|
||||||
gr_vissprite_t *best = NULL;
|
gr_vissprite_t *best = NULL;
|
||||||
gr_vissprite_t unsorted;
|
gr_vissprite_t unsorted;
|
||||||
float bestdist;
|
float bestdist = 0.0f;
|
||||||
INT32 bestdispoffset;
|
INT32 bestdispoffset = 0;
|
||||||
|
|
||||||
if (!gr_visspritecount)
|
if (!gr_visspritecount)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue