Don't crash!

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@492 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-11-20 01:11:07 +00:00
parent 2bcf7e04c3
commit 488af2771c

View file

@ -1772,9 +1772,11 @@ void Sbar_DeathmatchOverlay (int start)
scr_copyeverything = 1; scr_copyeverything = 1;
scr_fullupdate = 0; scr_fullupdate = 0;
if (!start) { if (!start)
pic = Draw_CachePic ("gfx/ranking.lmp"); {
Draw_Pic ((vid.width - 320)/2 + 160-pic->width/2, 0, pic); pic = Draw_SafeCachePic ("gfx/ranking.lmp");
if (pic)
Draw_Pic ((vid.width - 320)/2 + 160-pic->width/2, 0, pic);
} }
// scores // scores