From 6ad88b42faf9b4c646da4bc7d25c1f8295ce8c1b Mon Sep 17 00:00:00 2001 From: Garux Date: Sun, 12 Aug 2018 19:18:43 +0300 Subject: [PATCH] Q3map2: * fix reading of old wolf, et, etut bsps --- tools/quake3/q3map2/bspfile_ibsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/quake3/q3map2/bspfile_ibsp.c b/tools/quake3/q3map2/bspfile_ibsp.c index c4daffd9..921120fd 100644 --- a/tools/quake3/q3map2/bspfile_ibsp.c +++ b/tools/quake3/q3map2/bspfile_ibsp.c @@ -508,7 +508,7 @@ void LoadIBSPFile( const char *filename ){ CopyLightGridLumps( header ); /* advertisements */ - if ( header->version == 47 ) { // quake live's bsp version + if ( header->version == 47 && !strcmp( game->arg, "quakelive" ) ) { // quake live's bsp version minus wolf, et, etut numBSPAds = CopyLump( (bspHeader_t*) header, LUMP_ADVERTISEMENTS, bspAds, sizeof( bspAdvertisement_t ) ); } else{