Skip to content

Make P_SpawnGhostMobj ghosts properly copy spritestuff2 (!1257) variables

SMS Alfredo requested to merge SMS_Alfredo/SRB2:myformerself into next

The variables in question being mobj->renderflags, mobj->blendmode, mobj->spritexscale, mobj->spriteyscale, mobj->spritexoffset, and mobj->spriteyoffset. Fixes ghosts not being in the correct size or in the correct positioning, or in the wrong rendering style.

Most notable example for the sprite scales is Mini Mario with star power.

Before:

srb20032

After:

srb20033

Edited by SMS Alfredo

Merge request reports