1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Revert "Shift sprite origin Y by -0.5"

This reverts commit 43e0ad500f.
This commit is contained in:
Sergey Lipskiy 2018-08-20 18:40:10 +07:00
parent 6ac8efe081
commit cf05918222

View File

@ -2002,7 +2002,7 @@ struct ObjData
imageH = _pObjSprite->imageH >> 5;
X0 = _FIXED2FLOAT(_pObjSprite->objX, 2);
X1 = X0 + imageW / scaleW;
Y0 = _FIXED2FLOAT(_pObjSprite->objY, 2) - 0.5f;
Y0 = _FIXED2FLOAT(_pObjSprite->objY, 2);
Y1 = Y0 + imageH / scaleH;
flipS = (_pObjSprite->imageFlags & 0x01) != 0;
flipT = (_pObjSprite->imageFlags & 0x10) != 0;