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);
qboolean isbsp2rmqe;
// true if this model is a BSP2 .bsp file (expanded 32bit bsp format for DarkPlaces, others?)
qboolean isbsp2;
- // true if this model is a Quake2 .bsp file (IBSP46)
+ // true if this model is a Quake2 .bsp file (IBSP38)
qboolean isq2bsp;
// string of entity definitions (.map format)
char *entities;