From 77ab7e166eeacce7d60c5a3132e5be30fb7762a2 Mon Sep 17 00:00:00 2001 From: LJ Sonic Date: Thu, 19 Sep 2024 20:48:47 +0200 Subject: [PATCH] Fix L/R frames not being automatically mirrored --- src/r_things.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/r_things.c b/src/r_things.c index 36c35fde8..917e4e8b4 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -367,7 +367,7 @@ static void MirrorMissingRotations(void) { 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; UINT8 numrotations = frame->rotate == SRF_3D ? 8 : 16; @@ -2198,7 +2198,7 @@ static void R_ProjectSprite(mobj_t *thing) } else trans = 0; - + if ((oldthing->flags2 & MF2_LINKDRAW) && oldthing->tracer) trans = R_GetThingTransTable(oldthing->tracer->alpha, trans); else