Fallback graphic for firework display, if the character lacks one.

This commit is contained in:
Steel Titanium 2019-08-24 17:17:55 -04:00
parent 9d2e7b66ba
commit fbec4af086
No known key found for this signature in database
GPG key ID: 924BA411F18DFDBE

View file

@ -1595,11 +1595,11 @@ void F_StartEnding(void)
sprframe = &sprdef->spriteframes[4]; sprframe = &sprdef->spriteframes[4];
endfwrk[2] = W_CachePatchNum(sprframe->lumppat[0], PU_LEVEL); endfwrk[2] = W_CachePatchNum(sprframe->lumppat[0], PU_LEVEL);
} }
else // eh, yknow what? too lazy to put MISSINGs here. eggman wins if you don't give your character an ending firework display. else // Show a star if your character doesn't have an ending firework display. (Basically the MISSINGs for this)
{ {
endfwrk[0] = W_CachePatchName("ENDFWRK0", PU_LEVEL); endfwrk[0] = W_CachePatchName("ENDFWRK3", PU_LEVEL);
endfwrk[1] = W_CachePatchName("ENDFWRK1", PU_LEVEL); endfwrk[1] = W_CachePatchName("ENDFWRK4", PU_LEVEL);
endfwrk[2] = W_CachePatchName("ENDFWRK2", PU_LEVEL); endfwrk[2] = W_CachePatchName("ENDFWRK5", PU_LEVEL);
} }
endbrdr[0] = W_CachePatchName("ENDBRDR2", PU_LEVEL); endbrdr[0] = W_CachePatchName("ENDBRDR2", PU_LEVEL);