]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Corrected two comments regarding IBSP version of the Q2 bsp format.
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 1 Jun 2014 08:15:00 +0000 (08:15 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 1 Jun 2014 08:15:00 +0000 (08:15 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12084 d7cf8633-e32d-0410-b094-e92efae38249

model_brush.c
model_shared.h

index c5189e1522bbf8c12f83564820f23f6e9d242ba2..cb09da6807e9ded36cd8cd1db778a324e583e73b 100644 (file)
@@ -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);
index 4a5bfbf7a9a73e64f4cb0fbcc40acb6c25487f4b..1de925742ed811894eaabdf5d5b62da6be50c0b6 100644 (file)
@@ -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;