Clean up background drawing code

As #974 states, the lab background only ever uses the first generated
value from `backboxint`, so let's change it to a normal variable
instead of an array. Also, stars don't need their width/height set to
2 constantly... they never change in the first place, Terry!
This commit is contained in:
AllyTally
2023-05-22 15:37:00 -03:00
committed by Misa Elizabeth Kai
parent 5089bc373e
commit 81ad7ed9d6
2 changed files with 48 additions and 58 deletions

View File

@@ -399,7 +399,7 @@ public:
SDL_Rect backboxes[numbackboxes];
int backboxvx[numbackboxes];
int backboxvy[numbackboxes];
float backboxint[numbackboxes];
float backboxmult;
int warpskip;