X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=model_brush.c;h=cb09da6807e9ded36cd8cd1db778a324e583e73b;hb=7381192121c1353600e2f50db50872daaeda3248;hp=c5189e1522bbf8c12f83564820f23f6e9d242ba2;hpb=592e644fb95f476ad6ef4ec87420f7f440c0f156;p=xonotic%2Fdarkplaces.git diff --git a/model_brush.c b/model_brush.c index c5189e15..cb09da68 100644 --- a/model_brush.c +++ b/model_brush.c @@ -2503,7 +2503,7 @@ static void Mod_Q1BSP_LoadFaces(sizebuf_t *sb) for (surfacenum = 0, surface = loadmodel->data_surfaces;surfacenum < count;surfacenum++, surface++) { surface->lightmapinfo = loadmodel->data_surfaces_lightmapinfo + surfacenum; - // the struct on disk is the same in BSP29 (Q1), BSP30 (HL1), and IBSP46 (Q2) + // the struct on disk is the same in BSP29 (Q1), BSP30 (HL1), and IBSP38 (Q2) planenum = loadmodel->brush.isbsp2 ? MSG_ReadLittleLong(sb) : (unsigned short)MSG_ReadLittleShort(sb); /*side = */loadmodel->brush.isbsp2 ? MSG_ReadLittleLong(sb) : (unsigned short)MSG_ReadLittleShort(sb); firstedge = MSG_ReadLittleLong(sb);