diff options
author | Tim Angus <tim@ngus.net> | 2002-03-20 04:25:09 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2002-03-20 04:25:09 +0000 |
commit | eaeff9ea91eae4755453396aafe30e6946c81262 (patch) | |
tree | 95dab4130921cb30bfaed0a89f19855e753b6363 /src/cgame/cg_draw.c | |
parent | 465bdb724cbd651303143958e7eef2e8577321e9 (diff) |
Improved organ storing
Diffstat (limited to 'src/cgame/cg_draw.c')
-rw-r--r-- | src/cgame/cg_draw.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |