From d5a0b71b9ecb813e87898dea4e462a4aa3c71353 Mon Sep 17 00:00:00 2001 From: jadebenn Date: Mon, 1 Jan 2024 12:24:13 -0600 Subject: [PATCH] Update PetComponent.cpp --- dGame/dComponents/PetComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dGame/dComponents/PetComponent.cpp b/dGame/dComponents/PetComponent.cpp index 2bb9f0e6..d235b7b5 100644 --- a/dGame/dComponents/PetComponent.cpp +++ b/dGame/dComponents/PetComponent.cpp @@ -793,7 +793,7 @@ void PetComponent::OnSpawn() { Game::entityManager->SerializeEntity(m_Parent); } -void PetComponent::OnFollow(const float& deltaTime) { +void PetComponent::OnFollow(const float deltaTime) { Entity* owner = GetOwner(); if (!owner) return;