Skip to content

Commit

Permalink
Merge branch 'master' into flexible_hud
Browse files Browse the repository at this point in the history
  • Loading branch information
zturtleman committed Nov 13, 2018
2 parents 0969e14 + 09166ba commit c837677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/cgame/cg_newdraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ void CG_SelectNextPlayer( void ) {

void CG_SelectPrevPlayer( void ) {
CG_CheckOrderPending();
if (cg_currentSelectedPlayer.integer > 0 && cg_currentSelectedPlayer.integer < numSortedTeamPlayers) {
if (cg_currentSelectedPlayer.integer > 0 && cg_currentSelectedPlayer.integer <= numSortedTeamPlayers) {
cg_currentSelectedPlayer.integer--;
} else {
cg_currentSelectedPlayer.integer = numSortedTeamPlayers;
Expand Down

0 comments on commit c837677

Please sign in to comment.