Makes nexuiz's csqc work ever so slightly better (pics with size 0*0 now mean to draw at the natural size, instead of 64*64...).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3039 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2008-10-05 02:58:22 +00:00
parent a44068f9b4
commit 9f5fb267c3
1 changed files with 2 additions and 2 deletions

View File

@ -2224,8 +2224,8 @@ void GLDraw_Image(float x, float y, float w, float h, float s1, float t1, float
if (w == 0 && h == 0)
{
w = 64;
h = 64;
w = pic->width;
h = pic->height;
}
if (scrap_dirty)