From 4a59997a18cb1c5269b05ef3f7a2fcd3ba2f7552 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 1 Jan 2018 19:34:40 +0100 Subject: [PATCH] Drop limit of 4096 lumps --- src/mkwad.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mkwad.c b/src/mkwad.c index 45db4cd..3ad607b 100644 --- a/src/mkwad.c +++ b/src/mkwad.c @@ -105,8 +105,6 @@ void WADRopenR(struct WADINFO *info, const char *wadin) ntry = WADRreadLong(info); if (ntry <= 0) ProgError("WR09", "%s: zero entries", fname(wadin)); - if (ntry >= 0x2000) - ProgError("WR11", "%s: too many entries", fname(wadin)); info->dirpos = dirpos = WADRreadLong(info); if ((dirpos < 0) || (dirpos > 0x10000000L)) ProgError("WR13", "%s: invalid directory offset %08lX", -- 2.15.1