Move gravity line color updating to gamelogic()

So it doesn't keep updating really quickly.
This commit is contained in:
Misa
2020-04-28 21:17:16 -07:00
committed by Ethan Lee
parent 40cedc8c94
commit 837ccfc735
2 changed files with 15 additions and 12 deletions

View File

@@ -1447,18 +1447,6 @@ void Graphics::drawtrophytext()
void Graphics::drawentities()
{
//Update line colours!
if (linedelay <= 0)
{
linestate++;
if (linestate >= 10) linestate = 0;
linedelay = 2;
}
else
{
linedelay--;
}
point tpoint;
SDL_Rect drawRect;