- check negative XScale on sprites to allow mirroring.

This commit is contained in:
Christoph Oelckers 2013-12-01 01:15:10 +01:00
parent 974619d5be
commit e7225bced6

View file

@ -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;