diff options
author | Tim Angus <tim@ngus.net> | 2001-07-16 00:03:34 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-07-16 00:03:34 +0000 |
commit | e000aa468822c7201cefa30c48f1d02a0bdef142 (patch) | |
tree | 28359a2d6b3bf5a71bad9344c1202256a5bd735e /src/cgame/cg_draw.c | |
parent | 2dcdee4101631f297d00a6ce67c09a50fbb6e0d6 (diff) |
STAT_ARMOR now deflection chance
Diffstat (limited to 'src/cgame/cg_draw.c')
-rw-r--r-- | src/cgame/cg_draw.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index 813a2c50..6f82deb0 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -604,10 +604,10 @@ static void CG_DrawStatusBar( void ) { CG_DrawFadePic( 20, 0, 30, 440, fcolor, tcolor, value, cgs.media.droidHealth ); - value = (int)( (float)( (float)ps->stats[STAT_ARMOR] / ps->stats[STAT_MAX_HEALTH] ) * 100 ); +/* value = (int)( (float)( (float)ps->stats[STAT_ARMOR] / ps->stats[STAT_MAX_HEALTH] ) * 100 ); if( value > 0 ) - CG_DrawFadePic( 580, 0, 30, 440, fcolor, tcolor, value, cgs.media.droidHealth ); + CG_DrawFadePic( 580, 0, 30, 440, fcolor, tcolor, value, cgs.media.droidHealth );*/ } else { @@ -628,17 +628,17 @@ static void CG_DrawStatusBar( void ) { CG_ColorForHealth( hcolor ); trap_R_SetColor( hcolor ); - value = ps->stats[STAT_ARMOR]; +/* value = ps->stats[STAT_ARMOR]; if (value > 0 ) { trap_R_SetColor( colors[0] ); CG_DrawField (541, 432, 3, value); trap_R_SetColor( NULL ); // if we didn't draw a 3D icon, draw a 2D icon for armor - /*if ( !cg_draw3dIcons.integer && cg_drawIcons.integer ) { + if ( !cg_draw3dIcons.integer && cg_drawIcons.integer ) { CG_DrawPic( 370 + CHAR_WIDTH*3 + TEXT_ICON_SPACE, 432, ICON_SIZE, ICON_SIZE, cgs.media.armorIcon ); - }*/ - } + } + }*/ } } |