don't crash.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1868 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
ac60336e9e
commit
5e0ecbc3d9
1 changed files with 3 additions and 2 deletions
|
@ -164,8 +164,9 @@ void MSetup_TransDraw (int x, int y, menucustom_t *option, menu_t *menu)
|
|||
}
|
||||
}
|
||||
|
||||
p = Draw_CachePic ("gfx/bigbox.lmp");
|
||||
Draw_TransPic (x-12, y-8, p);
|
||||
p = Draw_SafeCachePic ("gfx/bigbox.lmp");
|
||||
if (p)
|
||||
Draw_TransPic (x-12, y-8, p);
|
||||
|
||||
M_BuildTranslationTable(info->topcolour*16, info->lowercolour*16);
|
||||
Draw_TransPicTranslate (x, y, info->tiwidth, info->tiheight, info->translationimage, translationTable);
|
||||
|
|
Loading…
Reference in a new issue