Skip to content

Commit

Permalink
Fix build error again
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkrupinski committed Sep 21, 2024
1 parent fa08f88 commit 02e6386
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class GrenadeProjectileOutlineGlowCondition {

[[nodiscard]] bool shouldGlowGrenadeProjectile(EntityTypeInfo entityTypeInfo, auto&& grenadeProjectile) const noexcept
{
return !entityTypeInfo.is<cs2::C_SmokeGrenadeProjectile>() || !(grenadeProjectile.as<SmokeGrenadeProjectile>().didSmokeEffect().valueOr(false));
return !entityTypeInfo.is<cs2::C_SmokeGrenadeProjectile>() || !grenadeProjectile.template as<SmokeGrenadeProjectile>().didSmokeEffect().valueOr(false);
}

private:
Expand Down

0 comments on commit 02e6386

Please sign in to comment.