mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Move gravity line color updating to gamelogic()
So it doesn't keep updating really quickly.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user