From e5c8c8c4fc97b8e3dc2f06e976013a71d0b65174 Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 18 Feb 2019 22:02:38 +0000 Subject: [PATCH] Fix the direction which the shadow is cast in "modern" status bar ammo icon git-svn-id: https://svn.eduke32.com/eduke32@7330 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/sbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/duke3d/src/sbar.cpp b/source/duke3d/src/sbar.cpp index d928f6717..ec072c5ef 100644 --- a/source/duke3d/src/sbar.cpp +++ b/source/duke3d/src/sbar.cpp @@ -546,7 +546,7 @@ static inline void rotatesprite_althud(int32_t sx, int32_t sy, int32_t z, int16_ static inline void rotatesprite_althudr(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t picnum, int8_t dashade, char dapalnum, int32_t dastat) { if (videoGetRenderMode() >= REND_POLYMOST && althud_shadows) - rotatesprite_(sbarxr(sx + 1), sbary(sy + 1), z, a, picnum, 127, 4, dastat + POLYMOSTTRANS2, 0, 0, 0, 0, xdim - 1, ydim - 1); + rotatesprite_(sbarxr(sx - 1), sbary(sy + 1), z, a, picnum, 127, 4, dastat + POLYMOSTTRANS2, 0, 0, 0, 0, xdim - 1, ydim - 1); rotatesprite_(sbarxr(sx), sbary(sy), z, a, picnum, dashade, dapalnum, dastat, 0, 0, 0, 0, xdim - 1, ydim - 1); }