mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-01-22 01:21:12 +00:00
Replace the fraglimit on the HUD with the clients score
This commit is contained in:
parent
440d611d96
commit
2d6d861bb3
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.27 2002/03/17 13:18:14 jbravo
|
||||||
|
// Replace the fraglimit on the HUD with the clients score
|
||||||
|
//
|
||||||
// Revision 1.26 2002/03/17 00:40:23 jbravo
|
// Revision 1.26 2002/03/17 00:40:23 jbravo
|
||||||
// Adding variable team names. g_RQ3_team1name and g_RQ3_team2name. Fixed
|
// Adding variable team names. g_RQ3_team1name and g_RQ3_team2name. Fixed
|
||||||
// Slicers fraglimit check.
|
// Slicers fraglimit check.
|
||||||
|
@ -1316,6 +1319,8 @@ static float CG_DrawScores( float y ) {
|
||||||
#endif
|
#endif
|
||||||
if ( cgs.gametype >= GT_CTF ) {
|
if ( cgs.gametype >= GT_CTF ) {
|
||||||
v = cgs.capturelimit;
|
v = cgs.capturelimit;
|
||||||
|
} else if (cgs.gametype == GT_TEAMPLAY) {
|
||||||
|
v = cg.snap->ps.persistant[PERS_SCORE];
|
||||||
} else {
|
} else {
|
||||||
v = cgs.fraglimit;
|
v = cgs.fraglimit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue