- fixed floor clipping of sprites.

This commit is contained in:
Christoph Oelckers 2016-09-06 22:18:47 +02:00
parent bfe34f4dc7
commit 181e5dc4db
1 changed files with 1 additions and 1 deletions

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)