]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
curves.c and .h: Remove whitespace at the top of both files
[xonotic/darkplaces.git] / console.c
index a10259e2b1c35be7bd2908696114fe9767b70577..75809f49eb1d8504606816b540b1080a18b628ba 100644 (file)
--- a/console.c
+++ b/console.c
@@ -2212,6 +2212,8 @@ qbool GetMapList (const char *s, char *completedname, int completednamebufferlen
                                lumplen = LittleLong(header->lumps[HL2LUMP_ENTITIES].filelen);
                                dpsnprintf(desc, sizeof(desc), "VBSP%i", LittleLong(((int *)buf)[1]));
                        }
+                       else
+                               dpsnprintf(desc, sizeof(desc), "unknown%i", BuffLittleLong(buf));
                        strlcpy(entfilename, t->filenames[i], sizeof(entfilename));
                        memcpy(entfilename + strlen(entfilename) - 4, ".ent", 5);
                        entities = (char *)FS_LoadFile(entfilename, tempmempool, true, NULL);