summaryrefslogtreecommitdiff
path: root/src/cgame/cg_draw.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-11-18 00:35:19 +0000
committerTim Angus <tim@ngus.net>2002-11-18 00:35:19 +0000
commit9dca3a7130216e8dc90f5a9e2d95153bbfecd7a4 (patch)
tree2baebdb086b4cb91167553c9da27dff6d5cac047 /src/cgame/cg_draw.c
parentb8db650b9abef5bc2a805fbb902f91a996bc31c0 (diff)
* Tweakage of values
* Sorted out hud selection code * Wall walk smoothes now performed in the correct order (d'oh) * Fixed bug involving human credit
Diffstat (limited to 'src/cgame/cg_draw.c')
-rw-r--r--src/cgame/cg_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index cb37b8ac..500beb00 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -2190,8 +2190,6 @@ static void CG_Draw2D( void )
//TA: draw the lighting effects e.g. nvg
CG_DrawLighting( );
- if( cg.predictedPlayerState.stats[ STAT_PTEAM ] != PTE_NONE )
- menu = Menus_FindByName( BG_FindHudNameForClass( cg.predictedPlayerState.stats[ STAT_PCLASS ] ) );
defaultMenu = Menus_FindByName( "default_hud" );
@@ -2200,6 +2198,8 @@ static void CG_Draw2D( void )
w = CG_Text_Width( SPECTATOR_STRING, 0.7f, 0 );
CG_Text_Paint( 320 - w / 2, 440, 0.7f, color, SPECTATOR_STRING, 0, 0, ITEM_TEXTSTYLE_SHADOWED );
}
+ else
+ menu = Menus_FindByName( BG_FindHudNameForClass( cg.predictedPlayerState.stats[ STAT_PCLASS ] ) );
if( !( cg.snap->ps.stats[ STAT_STATE ] & SS_INFESTING ) &&
!( cg.snap->ps.stats[ STAT_STATE ] & SS_HOVELING ) && menu )