We have missingpat here
This commit is contained in:
parent
c40bdba23f
commit
9c044e9f20
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue