Skip to content

Commit

Permalink
CGAME: shortens rank string in LPS to fit the scoreboard
Browse files Browse the repository at this point in the history
Replaces Points by P and Lives by L to  shorten the current rank string in LPS with g_lps_flags set to 1 to fit the scoreboard. See #333
  • Loading branch information
kai-li-wop committed Nov 15, 2024
1 parent 8f45d08 commit df1a6c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/cgame/cg_scoreboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,11 @@ qboolean CG_DrawOldScoreboard(void) {
}

if (cgs.lpsflags & LPSF_PPOINTLIMIT) {
s = va("%s" S_COLOR_BLACK " place with %i Points & %i Lives",
s = va("%s" S_COLOR_BLACK " place with %iP/%iL",
CG_PlaceString(cg.snap->ps.persistant[PERS_RANK] + 1), cg.snap->ps.persistant[PERS_SCORE],
ownLives);
} else {
s = va("%s" S_COLOR_BLACK " place with %i Lives",
s = va("%s" S_COLOR_BLACK " place with %i lives",
CG_PlaceString(cg.snap->ps.persistant[PERS_RANK] + 1), ownLives);
}
} else {
Expand Down

0 comments on commit df1a6c5

Please sign in to comment.