- fixed bad offset with vertically mirrored sprites.

Fixes #239
This commit is contained in:
Christoph Oelckers 2020-08-24 21:15:22 +02:00
parent a5e798289b
commit 3a6ccac8ea

View file

@ -445,7 +445,7 @@ bool SetTextureParms(F2DDrawer * drawer, DrawParms *parms, FGameTexture *img, do
parms->destwidth *= parms->patchscalex;
parms->destheight *= parms->patchscaley;
if (parms->flipoffsets && parms->flipY) parms->top = parms->texwidth - parms->top;
if (parms->flipoffsets && parms->flipY) parms->top = parms->texheight - parms->top;
if (parms->flipoffsets && parms->flipX) parms->left = parms->texwidth - parms->left;
switch (parms->cleanmode)