summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-11-22 15:04:04 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:22 +0000
commit7aa5ec7e92a51ecaffb480d73019f4a8a9db452b (patch)
treecbff2be8ef69f245ba2a62fff267dfba1a9877d6 /src/cgame
parentaf1e7bf53706513472f6646826c84a1f53dcfcce (diff)
* Fix broken scoreboard
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_draw.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index d42b2bfc..24b49747 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -1231,7 +1231,10 @@ Draw all the status / pacifier stuff during level loading
*/
void CG_DrawLoadingScreen( void )
{
- Menu_Paint( Menus_FindByName( "Loading" ), qtrue );
+ menuDef_t *menu = Menus_FindByName( "Loading" );
+
+ Menu_Update( menu );
+ Menu_Paint( menu, qtrue );
}
float CG_GetValue( int ownerDraw )
@@ -3116,6 +3119,7 @@ static qboolean CG_DrawScoreboard( void )
firstTime = qfalse;
}
+ Menu_Update( menuScoreboard );
Menu_Paint( menuScoreboard, qtrue );
}
@@ -3129,7 +3133,10 @@ CG_DrawIntermission
*/
static void CG_DrawIntermission( void )
{
- Menu_Paint( Menus_FindByName( "default_hud" ), qtrue );
+ menuDef_t *menu = Menus_FindByName( "default_hud" );
+
+ Menu_Update( menu );
+ Menu_Paint( menu, qtrue );
cg.scoreFadeTime = cg.time;
cg.scoreBoardShowing = CG_DrawScoreboard( );
@@ -3275,6 +3282,7 @@ static void CG_Draw2D( void )
CG_Error( "Default HUD could not be found" );
}
+ Menu_Update( menu );
Menu_Paint( menu, qtrue );
CG_DrawVote( TEAM_NONE );