]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
physics: fix and refactor unsticking
[xonotic/darkplaces.git] / 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);