- fixed floor clipping of sprites.

This commit is contained in:
Christoph Oelckers 2016-09-06 22:18:47 +02:00
parent bfe34f4dc7
commit 181e5dc4db

View file

@ -711,7 +711,7 @@ void GLSprite::Process(AActor* thing, sector_t * sector, int thruportal)
x = thingpos.X;
z = thingpos.Z;
y = thingpos.Y;
if (spritetype == RF_FLATSPRITE) z -= thing->Floorclip;
if (spritetype != RF_FLATSPRITE) z -= thing->Floorclip;
// [RH] Make floatbobbing a renderer-only effect.
if (thing->flags2 & MF2_FLOATBOB)