Polymost: Fix ART offset and face sprite flipping interaction.

git-svn-id: https://svn.eduke32.com/eduke32@3634 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
Plagman 2013-03-31 23:29:56 +00:00
parent 0abef3b8cd
commit 5b6b3c97e3

View file

@ -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;