Merge pull request #4228 from aws-lumberyard-dev/LYN6808_Multiplayer_PreRender_CompilerErrorFix

LYN6808: Fix Compiler Error Due to EntityPreRenderEvent
This commit is contained in:
puvvadar
2021-09-20 17:04:24 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -64,7 +64,7 @@ namespace Multiplayer
void OnDeactivate(Multiplayer::EntityIsMigrating entityIsMigrating) override;
private:
void OnPreRender(float deltaTime, float blendFactor);
void OnPreRender(float deltaTime);
void OnTransformUpdate(const AZ::Transform& transform);
void OnSyncRewind();
@@ -109,7 +109,7 @@ namespace Multiplayer
NetworkHitVolumesComponent::NetworkHitVolumesComponent()
: m_syncRewindHandler([this]() { OnSyncRewind(); })
, m_preRenderHandler([this](float deltaTime, float blendFactor) { OnPreRender(deltaTime, blendFactor); })
, m_preRenderHandler([this](float deltaTime) { OnPreRender(deltaTime); })
, m_transformChangedHandler([this](const AZ::Transform&, const AZ::Transform& worldTm) { OnTransformUpdate(worldTm); })
{
;
@@ -135,7 +135,7 @@ namespace Multiplayer
EMotionFX::Integration::ActorComponentNotificationBus::Handler::BusDisconnect();
}
void NetworkHitVolumesComponent::OnPreRender([[maybe_unused]] float deltaTime, [[maybe_unused]] float blendFactor)
void NetworkHitVolumesComponent::OnPreRender([[maybe_unused]] float deltaTime)
{
if (m_animatedHitVolumes.size() <= 0)
{