From 7381192121c1353600e2f50db50872daaeda3248 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 1 Jun 2014 08:15:00 +0000 Subject: [PATCH] Corrected two comments regarding IBSP version of the Q2 bsp format. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12084 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=ef5c86fa7d4e8c732ee684dd706137765e5cca5f --- model_brush.c | 2 +- model_shared.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); diff --git a/model_shared.h b/model_shared.h index 4a5bfbf7..1de92574 100644 --- a/model_shared.h +++ b/model_shared.h @@ -765,7 +765,7 @@ typedef struct model_brush_s 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; -- 2.39.2