shithub: qk1

Download patch

ref: a71e36307ff986c2aef20afb1507de1d74d4508a
parent: a2c15b543ca9ce88fb4983764df2254b84711dce
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Oct 15 18:06:20 EDT 2023

model: allow extents <= 2000

--- a/model.c
+++ b/model.c
@@ -727,7 +727,7 @@
 
 		s->texturemins[i] = bmins[i] * 16;
 		s->extents[i] = (bmaxs[i] - bmins[i]) * 16;
-		if ( !(tex->flags & TEX_SPECIAL) && s->extents[i] > 256)
+		if ( !(tex->flags & TEX_SPECIAL) && s->extents[i] > 2000)
 			Host_Error("Bad surface: texture=%s flags=%ux extents[%d]=%d",
 				tex->texture->name,
 				tex->flags,