Polymost: Fix yoffset bouncing of face sprites with cstat 128.

git-svn-id: https://svn.eduke32.com/eduke32@6248 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-06-23 09:17:12 +00:00
parent 945944b915
commit ccb6d27349

View file

@ -4439,6 +4439,8 @@ void polymost_drawsprite(int32_t snum)
if (tsiz.x & 1) if (tsiz.x & 1)
s0.x += ff.x * 0.5f; 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.x -= ff.x * (float) off.x;
s0.y -= ff.y * (float) off.y; s0.y -= ff.y * (float) off.y;