From 181e5dc4db824f815cdaf6ff8f37a6191e11d914 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 6 Sep 2016 22:18:47 +0200 Subject: [PATCH] - fixed floor clipping of sprites. --- src/gl/scene/gl_sprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/scene/gl_sprite.cpp b/src/gl/scene/gl_sprite.cpp index dba76d15d..07f397d6d 100644 --- a/src/gl/scene/gl_sprite.cpp +++ b/src/gl/scene/gl_sprite.cpp @@ -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)