From 5b6b3c97e3955a290ba3b0c3565afb94e4ddf2cc Mon Sep 17 00:00:00 2001 From: Plagman Date: Sun, 31 Mar 2013 23:29:56 +0000 Subject: [PATCH] Polymost: Fix ART offset and face sprite flipping interaction. git-svn-id: https://svn.eduke32.com/eduke32@3634 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/polymost.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/polymer/eduke32/build/src/polymost.c b/polymer/eduke32/build/src/polymost.c index 5334864a8..d0a70bc35 100644 --- a/polymer/eduke32/build/src/polymost.c +++ b/polymer/eduke32/build/src/polymost.c @@ -5032,6 +5032,9 @@ void polymost_drawsprite(int32_t snum) { case 0: //Face sprite //Project 3D to 2D + if (globalorientation&4) xoff = -xoff; + if (globalorientation&8) yoff = -yoff; + sx0 = (float)(tspr->x-globalposx); sy0 = (float)(tspr->y-globalposy); xp0 = sy0*gcosang - sx0*gsinang;