diff --git a/tools/mbspc/mbspc/map.c b/tools/mbspc/mbspc/map.c index 8fd473e9..0d8405a6 100644 --- a/tools/mbspc/mbspc/map.c +++ b/tools/mbspc/mbspc/map.c @@ -1286,7 +1286,7 @@ int LoadMapFromBSP(struct quakefile_s *qf) Q3_FreeMaxBSP(); } //end if //Quake3 BSP file - if (idheader.ident == Q3_BSP_IDENT && idheader.version == Q3_BSP_VERSION) + else if (idheader.ident == Q3_BSP_IDENT && idheader.version == Q3_BSP_VERSION) { ResetMapLoading(); Q3_LoadMapFromBSP(qf); diff --git a/tools/mbspc/qcommon/cm_load.c b/tools/mbspc/qcommon/cm_load.c index 5efb490f..9dd5c062 100644 --- a/tools/mbspc/qcommon/cm_load.c +++ b/tools/mbspc/qcommon/cm_load.c @@ -627,7 +627,7 @@ void CM_LoadMap( const char *name, qboolean clientload, int *checksum ) { ((int *)&header)[i] = LittleLong ( ((int *)&header)[i]); } - if ( header.version != BSP_VERSION ) { + if ( header.version != BSP_VERSION && header.version != BSP_VERSION_QL ) { Com_Error (ERR_DROP, "CM_LoadMap: %s has wrong version number (%i should be %i)" , name, header.version, BSP_VERSION ); } diff --git a/tools/mbspc/qcommon/qfiles.h b/tools/mbspc/qcommon/qfiles.h index 564b0fa5..3cfee73e 100644 --- a/tools/mbspc/qcommon/qfiles.h +++ b/tools/mbspc/qcommon/qfiles.h @@ -414,7 +414,7 @@ typedef struct { // little-endian "IBSP" #define BSP_VERSION 46 - +#define BSP_VERSION_QL 47 // quakelive :sss // there shouldn't be any problem with increasing these values at the // expense of more memory allocation in the utilities