render: revert redundant ternary expression
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ica6dc2015e573cc71b1882e69fef351e6a6a6964
This commit is contained in:
parent
1f53d1d40f
commit
6ea1e084db
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue