We have missingpat here

This commit is contained in:
NepDisk 2025-12-29 14:02:08 -05:00
parent c40bdba23f
commit 9c044e9f20

View file

@ -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