From ccb6d273498a438694b133191793ad79db55c7d7 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Fri, 23 Jun 2017 09:17:12 +0000 Subject: [PATCH] Polymost: Fix yoffset bouncing of face sprites with cstat 128. git-svn-id: https://svn.eduke32.com/eduke32@6248 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/polymost.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/build/src/polymost.cpp b/source/build/src/polymost.cpp index 8936041b3..4915769c5 100644 --- a/source/build/src/polymost.cpp +++ b/source/build/src/polymost.cpp @@ -4439,6 +4439,8 @@ void polymost_drawsprite(int32_t snum) if (tsiz.x & 1) s0.x += ff.x * 0.5f; + if (globalorientation & 128 && tsiz.y & 1) + s0.y += ff.y * 0.5f; s0.x -= ff.x * (float) off.x; s0.y -= ff.y * (float) off.y;