From 254c46b846e0298e5fcd30a5254f8ed8c43d34b0 Mon Sep 17 00:00:00 2001 From: AllyTally <alexiatilde@gmail.com> Date: Tue, 6 Jun 2023 10:23:37 -0300 Subject: [PATCH] Fix missing parentheses --- desktop_version/src/Graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }