- tweaked Hexen's weapon pieces so they do not floatbob into the floor with the hardware renderer.

This commit is contained in:
Christoph Oelckers 2021-05-19 18:30:19 +02:00
commit f0d8bd0a74
2 changed files with 10 additions and 1 deletions

View file

@ -583,7 +583,7 @@ void HWSprite::PerformSpriteClipAdjustment(AActor *thing, const DVector2 &thingp
const float NO_VAL = 100000000.0f;
bool clipthing = (thing->player || thing->flags3&MF3_ISMONSTER || thing->IsKindOf(NAME_Inventory)) && (thing->flags&MF_ICECORPSE || !(thing->flags&MF_CORPSE));
bool smarterclip = !clipthing && gl_spriteclip == 3;
if (clipthing || gl_spriteclip > 1)
if ((clipthing || gl_spriteclip > 1) && !(thing->flags2 & MF2_FLOATBOB))
{
float btm = NO_VAL;