mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Make 0-length gravity lines invisible again
This commit is contained in:
parent
149f5fbebc
commit
25dd9d56ad
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue