be a little more verbose with the "Bad surface extents" error.

This commit is contained in:
Bill Currie 2002-07-03 21:03:49 +00:00
parent 357225c923
commit 1337b8bd3d

View file

@ -467,7 +467,7 @@ CalcSurfaceExtents (msurface_t *s)
s->texturemins[i] = bmins[i] * 16;
s->extents[i] = (bmaxs[i] - bmins[i]) * 16;
if (!(tex->flags & TEX_SPECIAL) && s->extents[i] > 512 /* 256 */ )
Sys_Error ("Bad surface extents");
Sys_Error ("Bad surface extents: %x %d", tex->flags, s->extents[i]);
}
}