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)