mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +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,8 +149,9 @@ void M_DrawTextBox (int x, int y, int width, int lines)
|
|||
cx = x;
|
||||
cy = y;
|
||||
p = Draw_SafeCachePic ("gfx/box_tl.lmp");
|
||||
if (p)
|
||||
M_DrawTransPic (cx, cy, p);
|
||||
if (!p)
|
||||
return; //assume we can't find any
|
||||
M_DrawTransPic (cx, cy, p);
|
||||
p = Draw_SafeCachePic ("gfx/box_ml.lmp");
|
||||
if (p)
|
||||
for (n = 0; n < lines; n++)
|
||||
|
|
Loading…
Reference in a new issue