]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
changed Q1BSP LoadEdges out of bounds error into just a warning
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Mar 2006 13:38:03 +0000 (13:38 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Mar 2006 13:38:03 +0000 (13:38 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6063 d7cf8633-e32d-0410-b094-e92efae38249

model_brush.c

index ecbe140182366676891afe6c01596955cc43be29..44aeb7ae44708db5be9fdc9c62029efea7c02526 100644 (file)
@@ -1768,7 +1768,7 @@ static void Mod_Q1BSP_LoadEdges(lump_t *l)
                out->v[1] = (unsigned short)LittleShort(in->v[1]);
                if (out->v[0] >= loadmodel->brushq1.numvertexes || out->v[1] >= loadmodel->brushq1.numvertexes)
                {
-                       Host_Error("Mod_Q1BSP_LoadEdges: %s has invalid vertex indices in edge %i (vertices %i %i >= numvertices %i)\n", loadmodel->name, i, out->v[0], out->v[1], loadmodel->brushq1.numvertexes);
+                       Con_Printf("Mod_Q1BSP_LoadEdges: %s has invalid vertex indices in edge %i (vertices %i %i >= numvertices %i)\n", loadmodel->name, i, out->v[0], out->v[1], loadmodel->brushq1.numvertexes);
                        out->v[0] = 0;
                        out->v[1] = 0;
                }