Skip to content

Commit

Permalink
- Misc V:
Browse files Browse the repository at this point in the history
  • Loading branch information
LordMisfit committed Jan 30, 2025
1 parent 8bd8ff2 commit 6696b12
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ZScript/KC-statusbars.zc
Original file line number Diff line number Diff line change
Expand Up @@ -4746,10 +4746,13 @@ class KCStatusBarMain : BaseStatusBar
{
LegendStr.AppendFormat(" = \c[blue]DASH\c-");
}
if (CPlayerPawn.CountInv("TSArmorTier3Plus") ||
CPlayerPawn.CountInv("TSArmorTier2"))
if (kc_flightswimpitchdash &&
(CPlayerPawn.waterlevel >= 3 ||
(CPlayerPawn.bNOGRAVITY || CPlayerPawn.bFLY) ||
((CPlayerPawn.CountInv("TSArmorTier3Plus") ||
CPlayerPawn.CountInv("TSArmorTier2")) && CPlayerPawn.buttons & BT_CROUCH)))
{
if (CPlayerPawn.buttons & BT_CROUCH) LegendStr.AppendFormat(" \c[fire][3D MOVEMENT]\c-");
LegendStr.AppendFormat(" \c[fire][3D MOVEMENT]\c-");
}
if (LegendStr != "") DrawString(mConFont, LegendStr, (LX, LY), LegendFlags, LegendFontCLR, LegendAlpha, -1, 4, LegendScale);
}
Expand Down

0 comments on commit 6696b12

Please sign in to comment.