From 775e4fee9ec0b9d0d88ce55db7ef8378265aece9 Mon Sep 17 00:00:00 2001 From: jadebenn Date: Wed, 13 Dec 2023 01:01:34 -0600 Subject: [PATCH] change AND priority --- 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 86be11ff..d1ddc9a3 100644 --- a/dGame/dComponents/PetComponent.cpp +++ b/dGame/dComponents/PetComponent.cpp @@ -855,7 +855,7 @@ void PetComponent::OnFollow() { Entity* closestTreasure = PetDigServer::GetClosestTresure(ownerPos); const bool nonDragonForBone = closestTreasure->GetLOT() == 12192 && m_Parent->GetLOT() != 13067; - if (closestTreasure != nullptr && digUnlocked && !nonDragonForBone) { + if (!nonDragonForBone && closestTreasure != nullptr && digUnlocked) { const NiPoint3 treasurePos = closestTreasure->GetPosition(); const LWOOBJID treasureID = closestTreasure->GetObjectID(); const float distance = Vector3::DistanceSquared(ownerPos, treasurePos);