render: revert redundant ternary expression

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ica6dc2015e573cc71b1882e69fef351e6a6a6964
This commit is contained in:
raf 2026-04-08 12:03:44 +03:00
commit 6ea1e084db
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -359,7 +359,7 @@ void render_end_screen(int is_victory, int kills, int items, int damage_dealt, i
// Title
const char *title = is_victory ? "YOU ESCAPED!" : "GAME OVER";
int title_font_size = is_victory ? 60 : 60;
int title_font_size = 60;
Color title_color = is_victory ? GOLD : RED;
int title_width = MeasureText(title, title_font_size);
DrawText(title, (SCREEN_WIDTH - title_width) / 2, 30, title_font_size, title_color);