diff --git a/Runtime/Weapon/CWaveBuster.cpp b/Runtime/Weapon/CWaveBuster.cpp index b20534d60..6bcd86368 100644 --- a/Runtime/Weapon/CWaveBuster.cpp +++ b/Runtime/Weapon/CWaveBuster.cpp @@ -37,4 +37,12 @@ void CWaveBuster::ResetBeam(bool deactivate) {} void CWaveBuster::SetNewTarget(TUniqueId id) {} +std::optional CWaveBuster::GetTouchBounds() const { + if (x3d0_28_) { + return std::nullopt; + } + + return GetProjectileBounds(); +} + } // namespace urde diff --git a/Runtime/Weapon/CWaveBuster.hpp b/Runtime/Weapon/CWaveBuster.hpp index c6701b1f5..d15269cca 100644 --- a/Runtime/Weapon/CWaveBuster.hpp +++ b/Runtime/Weapon/CWaveBuster.hpp @@ -54,6 +54,8 @@ public: void UpdateFx(const zeus::CTransform& xf, float dt, CStateManager& mgr); void ResetBeam(bool deactivate); void SetNewTarget(TUniqueId id); + + std::optional GetTouchBounds() const override; }; } // namespace urde