1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 09:39:43 +01:00

Make 0-length gravity lines invisible again

This commit is contained in:
NyakoFox 2024-11-15 20:19:08 -04:00 committed by Ethan Lee
parent 63880169e6
commit d4e472db1b

View file

@ -1864,6 +1864,11 @@ void Graphics::drawgravityline(const int t, const int x, const int y, const int
return; return;
} }
if (w <= 0 && h <= 0)
{
return;
}
if (obj.entities[t].life == 0) if (obj.entities[t].life == 0)
{ {
if (game.noflashingmode) if (game.noflashingmode)