From a1feb972012479ddcedd991e7f6a72e25f3f6d03 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Thu, 31 Dec 2020 19:31:37 +0000 Subject: [PATCH] console: Readd code accidentally removed git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13086 d7cf8633-e32d-0410-b094-e92efae38249 --- console.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/console.c b/console.c index a10259e2..75809f49 100644 --- 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); -- 2.39.2