diff --git a/desktop_version/src/Graphics.cpp b/desktop_version/src/Graphics.cpp index 0c2dba35..25df10f9 100644 --- a/desktop_version/src/Graphics.cpp +++ b/desktop_version/src/Graphics.cpp @@ -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)