From 80c14cd6ac569ca9a8c49cf6e6d0adce13698d64 Mon Sep 17 00:00:00 2001 From: toaster Date: Sat, 14 May 2022 19:18:57 +0100 Subject: [PATCH] use missingnum instead of re-calling W_GetNumForName --- src/hu_stuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hu_stuff.c b/src/hu_stuff.c index 77deff138..c859df55f 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -213,7 +213,7 @@ void HU_Init(void) if (missingnum == LUMPERROR) I_Error("HU_LoadGraphics: \"MISSING\" patch not present in resource files."); - missingpat = W_CachePatchNum(W_GetNumForName("MISSING"), PU_STATIC); + missingpat = W_CachePatchNum(missingnum, PU_STATIC); } // set shift translation table