Fixes floor-aligned sprites being affected by the real center cstat bit (bug #2783389).

git-svn-id: https://svn.eduke32.com/eduke32@1369 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2009-05-08 18:04:02 +00:00
parent 5aeddd2aa1
commit 3b5cf1310a

View file

@ -1029,7 +1029,7 @@ void polymer_drawsprite(int32_t snum)
xoff = tilexoff * xratio;
yoff = tileyoff * yratio;
if (tspr->cstat & 128)
if ((tspr->cstat & 128) && (((tspr->cstat>>4) & 3) != 2))
yoff -= ysize / 2;
spos[0] = tspr->y;