mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-08 22:07:10 +00:00
Distance for pet digs increased slightly to help with navmesh issues (#1151)
This commit is contained in:
parent
342da56678
commit
54454973a1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user