From: havoc Date: Sun, 1 Jan 2006 07:51:57 +0000 (+0000) Subject: make compile again, stupid typos X-Git-Tag: xonotic-v0.1.0preview~4408 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4c22fa61fa80ded8f838bc4df24c223a1b347394;p=xonotic%2Fdarkplaces.git make compile again, stupid typos git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5883 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_brush.c b/model_brush.c index 5234c494..f37de5b3 100644 --- a/model_brush.c +++ b/model_brush.c @@ -1758,11 +1758,11 @@ static void Mod_Q1BSP_LoadEdges(lump_t *l) { out->v[0] = (unsigned short)LittleShort(in->v[0]); out->v[1] = (unsigned short)LittleShort(in->v[1]); - if (out->v[0] >= loadmodel->brushq1.numvertices || out->v[1] >= loadmodel->brushq1.numvertices) + 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.numvertices); - out[0] = 0; - out[1] = 0; + 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); + out->v[0] = 0; + out->v[1] = 0; } } }