Added PSPF_FLIP.
Flips the overlay on the X axis.
This commit is contained in:
parent
5dc94a10c3
commit
3de83b8943
3 changed files with 3 additions and 1 deletions
|
|
@ -1404,7 +1404,7 @@ void R_DrawPSprite(DPSprite *pspr, AActor *owner, float bobx, float boby, double
|
|||
vis->pic = tex;
|
||||
vis->ColormapNum = 0;
|
||||
|
||||
if (flip)
|
||||
if (!(flip) != !(pspr->Flags & PSPF_FLIP))
|
||||
{
|
||||
vis->xiscale = -FLOAT2FIXED(pspritexiscale * tex->Scale.X);
|
||||
vis->startfrac = (tex->GetWidth() << FRACBITS) - 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue