diff --git a/Source/Features/Visuals/PlayerInfoInWorld/PlayerWeaponIcon/ActiveWeaponIcon/PlayerActiveWeaponIconPanel.h b/Source/Features/Visuals/PlayerInfoInWorld/PlayerWeaponIcon/ActiveWeaponIcon/PlayerActiveWeaponIconPanel.h index 0cba9ed84be..134cc026f71 100644 --- a/Source/Features/Visuals/PlayerInfoInWorld/PlayerWeaponIcon/ActiveWeaponIcon/PlayerActiveWeaponIconPanel.h +++ b/Source/Features/Visuals/PlayerInfoInWorld/PlayerWeaponIcon/ActiveWeaponIcon/PlayerActiveWeaponIconPanel.h @@ -14,7 +14,7 @@ class PlayerActiveWeaponIconPanel { void update(auto&& playerPawn, Visibility bombIconVisibility) const noexcept { - if (!context.state().showPlayerActiveWeapon || (bombIconVisibility == Visibility::Visible && playerPawn.getActiveWeapon().is())) { + if (!context.state().showPlayerActiveWeapon || (bombIconVisibility == Visibility::Visible && playerPawn.getActiveWeapon().template is())) { context.panel().setVisible(false); return; } diff --git a/Source/GameClasses/BaseWeapon.h b/Source/GameClasses/BaseWeapon.h index 08ab9122825..af21a52de50 100644 --- a/Source/GameClasses/BaseWeapon.h +++ b/Source/GameClasses/BaseWeapon.h @@ -15,7 +15,7 @@ class BaseWeapon { template