From 49fa45039e7bc3f1964269363c2f770a4fa71ff6 Mon Sep 17 00:00:00 2001 From: LJ Sonic Date: Wed, 20 Mar 2024 18:06:19 +0100 Subject: [PATCH] Fix error report when some frames are missing --- src/r_things.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_things.c b/src/r_things.c index 5c4698e5d..534ce7368 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -327,7 +327,7 @@ static void MirrorMissingRotations(void) { spriteframe_t *frame = &sprtemp[framenum]; - if (!(frame->rotate & SRF_3DMASK)) + if (frame->rotate == SRF_NONE || !(frame->rotate & SRF_3DMASK)) continue; UINT8 numrotations = frame->rotate == SRF_3D ? 8 : 16;