diff --git a/desktop_version/src/Graphics.cpp b/desktop_version/src/Graphics.cpp index c4aa3fb5..be992db0 100644 --- a/desktop_version/src/Graphics.cpp +++ b/desktop_version/src/Graphics.cpp @@ -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)