mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 01:29:43 +01:00
Make 0-length gravity lines invisible again
This commit is contained in:
parent
63880169e6
commit
d4e472db1b
1 changed files with 5 additions and 0 deletions
|
@ -1864,6 +1864,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