mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 23:22:01 +00:00
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:
parent
184ca975fc
commit
de790a2d35
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue