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:
parent
2bcf7e04c3
commit
488af2771c
1 changed files with 5 additions and 3 deletions
|
@ -1772,9 +1772,11 @@ void Sbar_DeathmatchOverlay (int start)
|
|||
scr_copyeverything = 1;
|
||||
scr_fullupdate = 0;
|
||||
|
||||
if (!start) {
|
||||
pic = Draw_CachePic ("gfx/ranking.lmp");
|
||||
Draw_Pic ((vid.width - 320)/2 + 160-pic->width/2, 0, pic);
|
||||
if (!start)
|
||||
{
|
||||
pic = Draw_SafeCachePic ("gfx/ranking.lmp");
|
||||
if (pic)
|
||||
Draw_Pic ((vid.width - 320)/2 + 160-pic->width/2, 0, pic);
|
||||
}
|
||||
|
||||
// scores
|
||||
|
|
Loading…
Reference in a new issue