- tweaked Hexen's weapon pieces so they do not floatbob into the floor with the hardware renderer.
This commit is contained in:
parent
28dab3889b
commit
f0d8bd0a74
2 changed files with 10 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue