From 643b969dfff2a7a9f2dbc99749bb20ac8e9c1c1e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 20 Apr 2021 19:37:32 +0200 Subject: [PATCH] - added another weird Build specialty: no vertical sprite offset flipping for face sprites. Just... why...? :? --- source/core/rendering/scene/hw_sprites.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/rendering/scene/hw_sprites.cpp b/source/core/rendering/scene/hw_sprites.cpp index 6f09162e2..61a06e954 100644 --- a/source/core/rendering/scene/hw_sprites.cpp +++ b/source/core/rendering/scene/hw_sprites.cpp @@ -378,7 +378,7 @@ void HWSprite::Process(HWDrawInfo* di, spritetype* spr, sectortype* sector, int } if (flags & CSTAT_SPRITE_XFLIP) xoff = -xoff; - if (flags & CSTAT_SPRITE_YFLIP) yoff = -yoff; + //if (flags & CSTAT_SPRITE_YFLIP) yoff = -yoff; According to Polymost this must not be done. ul = (spr->cstat & CSTAT_SPRITE_XFLIP) ? 0.f : 1.f; ur = (spr->cstat & CSTAT_SPRITE_XFLIP) ? 1.f : 0.f;