mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
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:
parent
945944b915
commit
ccb6d27349
1 changed files with 2 additions and 0 deletions
|
@ -4439,6 +4439,8 @@ void polymost_drawsprite(int32_t snum)
|
|||
|
||||
if (tsiz.x & 1)
|
||||
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.y -= ff.y * (float) off.y;
|
||||
|
|
Loading…
Reference in a new issue