]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
map command: recognise Q3BSP variants IBSP47 and IBSP48
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 11 Mar 2024 18:13:28 +0000 (04:13 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 11 Mar 2024 18:15:58 +0000 (04:15 +1000)
Quake Live and Iron Grip, already supported by the loader.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
console.c

index 687c413af571c2760ff91a3ee26c3ef10339c79e..21782f7f439e1edbb6db6a99fd9bf821cd492db0 100644 (file)
--- 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);