mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 05:11:08 +00:00
Fix L/R frames not being automatically mirrored
This commit is contained in:
parent
ef9dc17646
commit
77ab7e166e
1 changed files with 2 additions and 2 deletions
|
@ -367,7 +367,7 @@ static void MirrorMissingRotations(void)
|
||||||
{
|
{
|
||||||
spriteframe_t *frame = &sprtemp[framenum];
|
spriteframe_t *frame = &sprtemp[framenum];
|
||||||
|
|
||||||
if (frame->rotate == SRF_NONE || !(frame->rotate & SRF_3DMASK))
|
if (frame->rotate == SRF_NONE || !(frame->rotate & (SRF_3DMASK | SRF_2D)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
UINT8 numrotations = frame->rotate == SRF_3D ? 8 : 16;
|
UINT8 numrotations = frame->rotate == SRF_3D ? 8 : 16;
|
||||||
|
@ -2198,7 +2198,7 @@ static void R_ProjectSprite(mobj_t *thing)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
trans = 0;
|
trans = 0;
|
||||||
|
|
||||||
if ((oldthing->flags2 & MF2_LINKDRAW) && oldthing->tracer)
|
if ((oldthing->flags2 & MF2_LINKDRAW) && oldthing->tracer)
|
||||||
trans = R_GetThingTransTable(oldthing->tracer->alpha, trans);
|
trans = R_GetThingTransTable(oldthing->tracer->alpha, trans);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue