Skip to content

Commit

Permalink
CGAME: Fix score line display in LPS + g_lps_flags enabled
Browse files Browse the repository at this point in the history
Introduced with a08b3bd, the remaining lives were not displayed with the current score in the score/livesleft column of the scoreboard. See #334
  • Loading branch information
kai-li-wop committed Nov 15, 2024
1 parent df1a6c5 commit 122bba2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/cgame/cg_scoreboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@ static void CG_DrawClientScore(int y, const score_t *score, const vec4_t color,
} else {
Com_sprintf(string, sizeof(string), "%5i %4i %4i", score->livesleft, score->ping, score->time);
}
} else {
Com_sprintf(string, sizeof(string), "%5i %4i %4i", score->score, score->ping, score->time);
}
Com_sprintf(string, sizeof(string), "%5i %4i %4i", score->score, score->ping, score->time);
}

// highlight your position
Expand Down

0 comments on commit 122bba2

Please sign in to comment.