mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- check negative XScale on sprites to allow mirroring.
This commit is contained in:
parent
974619d5be
commit
e7225bced6
1 changed files with 5 additions and 0 deletions
|
@ -608,6 +608,11 @@ void R_ProjectSprite (AActor *thing, int fakeside, F3DFloor *fakefloor, F3DFloor
|
|||
}
|
||||
}
|
||||
}
|
||||
if (spritescaleX < 0)
|
||||
{
|
||||
spritescaleX = -spritescaleX;
|
||||
flip = !flip;
|
||||
}
|
||||
if (voxel == NULL && (tex == NULL || tex->UseType == FTexture::TEX_Null))
|
||||
{
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue