mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +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))
|
if (voxel == NULL && (tex == NULL || tex->UseType == FTexture::TEX_Null))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue