From f3b305b600ec96142c85a2469f1bb28cc571e260 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 17 Nov 2004 18:03:09 +0000 Subject: [PATCH] Why does the scoreboard need the pic? It doesn't now! git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@457 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/sbar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/client/sbar.c b/engine/client/sbar.c index 8335aeedb..7f67fcddd 100644 --- a/engine/client/sbar.c +++ b/engine/client/sbar.c @@ -1669,8 +1669,9 @@ void Sbar_TeamOverlay (void) scr_copyeverything = 1; scr_fullupdate = 0; - pic = Draw_CachePic ("gfx/ranking.lmp"); - Draw_Pic ((vid.width-pic->width)/2, 0, pic); + pic = Draw_SafeCachePic ("gfx/ranking.lmp"); + if (pic) + Draw_Pic ((vid.width-pic->width)/2, 0, pic); y = 24; x = (vid.width - 320)/2 + 36;