mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
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:
parent
5aeddd2aa1
commit
3b5cf1310a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue