From eaeff9ea91eae4755453396aafe30e6946c81262 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 20 Mar 2002 04:25:09 +0000 Subject: Improved organ storing --- src/cgame/cg_draw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cgame/cg_draw.c') diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index e7c91762..42eebdbe 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -327,7 +327,7 @@ static void CG_DrawPlayerCreditsValue( rectDef_t *rect, vec4_t color ) ps = &cg.snap->ps; - value = ps->stats[ STAT_CREDIT ]; + value = ps->persistant[ PERS_CREDIT ]; if( value > -1 ) { trap_R_SetColor( color ); @@ -343,7 +343,7 @@ static void CG_DrawPlayerBankValue( rectDef_t *rect, vec4_t color ) ps = &cg.snap->ps; - value = ps->stats[ STAT_BANK ]; + value = ps->persistant[ PERS_BANK ]; if( value > -1 ) { trap_R_SetColor( color ); @@ -993,7 +993,7 @@ CG_DrawStatusBar } //display amount of credit - s = va( "%dg", ps->stats[ STAT_CREDIT ] ); + s = va( "%dg", ps->stats[ PERS_CREDIT ] ); w = CG_DrawStrlen( s ) * BIGCHAR_WIDTH; CG_DrawBigString( 635 - w, 35, s, 1.0F); } -- cgit