Don't waste fps too much.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1385 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-09-28 23:30:10 +00:00
parent 184ca975fc
commit de790a2d35

View file

@ -149,7 +149,8 @@ void M_DrawTextBox (int x, int y, int width, int lines)
cx = x;
cy = y;
p = Draw_SafeCachePic ("gfx/box_tl.lmp");
if (p)
if (!p)
return; //assume we can't find any
M_DrawTransPic (cx, cy, p);
p = Draw_SafeCachePic ("gfx/box_ml.lmp");
if (p)