diff --git a/Runtime/Weapon/CWaveBuster.cpp b/Runtime/Weapon/CWaveBuster.cpp index 3cfd83838..7316af254 100644 --- a/Runtime/Weapon/CWaveBuster.cpp +++ b/Runtime/Weapon/CWaveBuster.cpp @@ -3,6 +3,8 @@ #include "Runtime/CSimplePool.hpp" #include "Runtime/GameGlobalObjects.hpp" +#include "TCastTo.hpp" // Generated file, do not modify include path + namespace urde { CWaveBuster::CWaveBuster(const TToken& desc, EWeaponType type, const zeus::CTransform& xf, @@ -32,6 +34,8 @@ void CWaveBuster::ResetBeam(bool deactivate) {} void CWaveBuster::SetNewTarget(TUniqueId id) {} +void CWaveBuster::Accept(IVisitor& visitor) { visitor.Visit(this); } + void CWaveBuster::AddToRenderer([[maybe_unused]] const zeus::CFrustum& frustum, CStateManager& mgr) { const auto bounds = GetSortingBounds(mgr); EnsureRendered(mgr, x2e8_originalXf.origin, bounds); diff --git a/Runtime/Weapon/CWaveBuster.hpp b/Runtime/Weapon/CWaveBuster.hpp index 6ae51b108..b4cd25720 100644 --- a/Runtime/Weapon/CWaveBuster.hpp +++ b/Runtime/Weapon/CWaveBuster.hpp @@ -55,6 +55,7 @@ public: void ResetBeam(bool deactivate); void SetNewTarget(TUniqueId id); + void Accept(IVisitor& visitor) override; void AddToRenderer(const zeus::CFrustum& frustum, CStateManager& mgr) override; std::optional GetTouchBounds() const override; };