diff options
author | Tim Angus <tim@ngus.net> | 2009-10-03 12:46:51 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:14 +0000 |
commit | d16cf28f22a4220bfa67216c1687d80ccbd780b4 (patch) | |
tree | 3d4d1cf781a3104316cf2cb8945f3a9fafa90cb7 /src/cgame | |
parent | 120a3dd717954482db9109358f26b009f05d0421 (diff) |
* s/G_TriggerMenu2/G_TriggerMenuArgs/
* s/ALIEN_CREDITS_PER_FRAG/ALIEN_CREDITS_PER_KILL/
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index 6c59be4a..3423957a 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -326,7 +326,7 @@ static void CG_DrawPlayerCreditsValue( rectDef_t *rect, vec4_t color, qboolean p color[ 3 ] = 0.0f; } - value /= ALIEN_CREDITS_PER_FRAG; + value /= ALIEN_CREDITS_PER_KILL; } trap_R_SetColor( color ); @@ -1420,7 +1420,7 @@ static void CG_DrawStageReport( rectDef_t *rect, float text_x, float text_y, if( cg.snap->ps.stats[ STAT_TEAM ] == TEAM_ALIENS ) { - int kills = ceil( (float)(cgs.alienNextStageThreshold - cgs.alienCredits) / ALIEN_CREDITS_PER_FRAG ); + int kills = ceil( (float)(cgs.alienNextStageThreshold - cgs.alienCredits) / ALIEN_CREDITS_PER_KILL ); if( kills < 0 ) kills = 0; |