Fix compiler error because EntityPreRenderEvent only takes one float for deltaTime now

Signed-off-by: Gene Walters <genewalt@amazon.com>
This commit is contained in:
Gene Walters
2021-09-20 14:59:28 -07:00
parent 52004f6cb5
commit 465f91c7f5
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)
{