From 1337b8bd3d076a1c329e261cbdb4eb2ad5eb2b70 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 3 Jul 2002 21:03:49 +0000 Subject: [PATCH] be a little more verbose with the "Bad surface extents" error. --- libs/models/brush/model_brush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/models/brush/model_brush.c b/libs/models/brush/model_brush.c index 3b1c942ef..048818678 100644 --- a/libs/models/brush/model_brush.c +++ b/libs/models/brush/model_brush.c @@ -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]); } }