From 86584b54ece9175dd9b6b4637fad470a36180bf7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 18 Nov 2023 19:42:05 +0100 Subject: [PATCH] Duke: remove setting the xflip flag for sprites rendered in a mirror The new renderer handles this internally so this flag will just un-flip the sprite again. --- source/games/duke/src/animatesprites.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/games/duke/src/animatesprites.cpp b/source/games/duke/src/animatesprites.cpp index 53b5bd65c..1575a29d0 100644 --- a/source/games/duke/src/animatesprites.cpp +++ b/source/games/duke/src/animatesprites.cpp @@ -213,8 +213,6 @@ void applyanimations(tspritetype* t, DDukeActor* h, const DVector2& viewVec, DAn if (h->dispictex.isValid()) h->dispictex = t->spritetexture(); } - else if (display_mirror == 1) - t->cstat |= CSTAT_SPRITE_XFLIP; if (h->flags4 & SFLAG4_FLASHFRAME0) {