From 54454973a118739f383418d9b4feee410d058ac5 Mon Sep 17 00:00:00 2001 From: TAHuntling <38479763+TAHuntling@users.noreply.github.com> Date: Sat, 22 Jul 2023 04:49:23 -0500 Subject: [PATCH] Distance for pet digs increased slightly to help with navmesh issues (#1151) --- 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 c2843266..167fbb2f 100644 --- a/dGame/dComponents/PetComponent.cpp +++ b/dGame/dComponents/PetComponent.cpp @@ -449,7 +449,7 @@ void PetComponent::Update(float deltaTime) { NiPoint3 tresurePosition = closestTresure->GetPosition(); float distance = Vector3::DistanceSquared(position, tresurePosition); - if (distance < 3 * 3) { + if (distance < 5 * 5) { m_Interaction = closestTresure->GetObjectID(); Command(NiPoint3::ZERO, LWOOBJID_EMPTY, 1, 202, true);