diff --git a/desktop_version/src/Graphics.cpp b/desktop_version/src/Graphics.cpp index dbdaf385..38831477 100644 --- a/desktop_version/src/Graphics.cpp +++ b/desktop_version/src/Graphics.cpp @@ -2626,7 +2626,7 @@ void Graphics::updatebackground(int t) if (stars[i].x < -10) { stars[i].x += 340; - stars[i].y = (int) fRandom() * 240; + stars[i].y = (int) (fRandom() * 240); starsspeed[i] = 4 + (int) (fRandom() * 4); } }