From 1ee5c4c51237bc242c89da3d709928584a86fda7 Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 24 Jul 2012 00:20:45 +0000 Subject: [PATCH] don't be too fussy when q3bsp2 is around! :P git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4096 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/gl_q2bsp.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/engine/common/gl_q2bsp.c b/engine/common/gl_q2bsp.c index ea60c5641..3b5430447 100644 --- a/engine/common/gl_q2bsp.c +++ b/engine/common/gl_q2bsp.c @@ -3547,6 +3547,7 @@ void CMQ3_CalcPHS (void) qbyte *scan; int count, vcount; int numclusters; + qboolean buggytools = false; Con_DPrintf ("Building PHS...\n"); @@ -3594,10 +3595,17 @@ void CMQ3_CalcPHS (void) // OR this pvs row into the phs index = (j<<3) + k; if (index >= numclusters) - Host_Error ("CM_CalcPHS: Bad bit in PVS"); // pad bits should be 0 - src = (unsigned int *)(map_q3pvs->data) + index*rowwords; - for (l=0 ; l= %i)\n", index, numclusters); // pad bits should be 0 + buggytools = true; + } + else + { + src = (unsigned int *)(map_q3pvs->data) + index*rowwords; + for (l=0 ; l