From 9c044e9f200743cf02cecbfc14b4f2c2535a24a5 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Mon, 29 Dec 2025 14:02:08 -0500 Subject: [PATCH] We have missingpat here --- src/w_wad.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/w_wad.cpp b/src/w_wad.cpp index 18476a9d0..df4158d01 100644 --- a/src/w_wad.cpp +++ b/src/w_wad.cpp @@ -2301,7 +2301,7 @@ void *W_CachePatchNameRotated(const char *name, INT32 rotationangle, INT32 tag) rspr = (rotsprite_t *)W_GetCachedRotPatchPwad(WADFILENUM(num),LUMPNUM(num)); if (rspr == NULL) - return W_CachePatchNum(W_GetNumForName("MISSING"), tag); + return missingpat; if (rspr->patches[idx] == NULL) { @@ -2309,7 +2309,7 @@ void *W_CachePatchNameRotated(const char *name, INT32 rotationangle, INT32 tag) ptr = (patch_t *)W_CachePatchNum(num, PU_PATCH); if (ptr == NULL) - return W_CachePatchNum(W_GetNumForName("MISSING"), tag); + return missingpat; // >y pivot centered // >x pivot not centered