From f7cf8e50f86824084307a71a6d3f146707e921ae Mon Sep 17 00:00:00 2001
From: fickleheart <fickle@tinted.red>
Date: Fri, 7 Feb 2020 18:43:20 -0600
Subject: [PATCH] Oops

---
 src/w_wad.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/w_wad.c b/src/w_wad.c
index 9f36e5d2a1..3e8502b5e7 100644
--- a/src/w_wad.c
+++ b/src/w_wad.c
@@ -633,7 +633,7 @@ static lumpinfo_t* ResGetLumpsZip (FILE* handle, UINT16* nlmp)
 		// skip and ignore comments/extra fields
 		if (fseek(handle, zentry->xtralen + zentry->commlen, SEEK_CUR) != 0)
 		{
-			CONS_Alert(CONS_ERROR, "Central directory %d is corrupt (%02x%02x%02x%02x)\n", i, zentry->signature[0], zentry->signature[1], zentry->signature[2], zentry->signature[3]);
+			CONS_Alert(CONS_ERROR, "Central directory is corrupt\n");
 			Z_Free(lumpinfo);
 			free(zentries);
 			return NULL;
@@ -1821,7 +1821,7 @@ W_VerifyPK3 (FILE *fp, lumpchecklist_t *checklist, boolean status)
 		free(fullname);
 
 		// skip and ignore comments/extra fields
-		if (fseek(fp, zentry->xtralen + zentry->commlen, SEEK_CUR) != 0)
+		if (fseek(fp, zentry.xtralen + zentry.commlen, SEEK_CUR) != 0)
 			return true;
 	}
 
-- 
GitLab