- 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
parent 28dab3889b
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;

View File

@ -375,3 +375,12 @@ THRWE0, 6, 16, iwad
THRWF0, 8, 19, iwad
THRWG0, 8, 19, iwad
THRWH0, 11, 19, iwad
WFR1A0, 6, 50, iwad
WFR2A0, 10, 28, iwad
WFR3A0, 6, 28, iwad
WMS1A0, 6, 28, iwad
WMS2A0, 6, 35, iwad
WMS3A0, 6, 32, iwad
WCH1A0, 15, 29, iwad
WCH2A0, 9, 30, iwad
WCH3A0, 11, 30, iwad