From: bones_was_here Date: Mon, 11 Mar 2024 18:13:28 +0000 (+1000) Subject: map command: recognise Q3BSP variants IBSP47 and IBSP48 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ef7ce27f0ec2e0a9e023220f56c3a38d3405debe;p=xonotic%2Fdarkplaces.git map command: recognise Q3BSP variants IBSP47 and IBSP48 Quake Live and Iron Grip, already supported by the loader. Signed-off-by: bones_was_here --- diff --git a/console.c b/console.c index 687c413a..21782f7f 100644 --- a/console.c +++ b/console.c @@ -2161,7 +2161,7 @@ qbool GetMapList (const char *s, char *completedname, int completednamebufferlen if (!memcmp(buf, "IBSP", 4)) { p = LittleLong(((int *)buf)[1]); - if (p == Q3BSPVERSION) + if (p == Q3BSPVERSION || p == Q3BSPVERSION_LIVE || p == Q3BSPVERSION_IG) { q3dheader_t *header = (q3dheader_t *)buf; lumpofs = LittleLong(header->lumps[Q3LUMP_ENTITIES].fileofs);