Skip to content

Commit

Permalink
scoreboard for instagib show rail acc instead of damage Irbyz#73
Browse files Browse the repository at this point in the history
  • Loading branch information
dedavidd committed Dec 14, 2018
1 parent c291bfb commit 58e64e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/cgame/cg_scoreboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ static void CG_DrawClientScore( int x, int y, int w, int h, score_t *score, floa
}

if (cgs.instagib == 1) {
strcpy( string, va( "%i%% Acc", ( ( int )( 100*( float )score->accuracys[ WP_RAILGUN ][ 1 ]/( float )score->accuracys[ WP_RAILGUN ][ 0 ] ) ) ) );
strcpy( string, va( "%i%% Acc", ( ( int )( score->accuracy ) ) ) );
CG_DrawStringExt( x + w*0.66, y - SB_CHAR_HEIGHT/2, string, colorWhite, qfalse, qfalse, SB_CHAR_WIDTH, SB_CHAR_HEIGHT, 0 );
} else {
if( h >= SB_CHAR_HEIGHT*2 ){
Expand Down

0 comments on commit 58e64e1

Please sign in to comment.