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 149f5fbebc
commit 25dd9d56ad

View file

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