fixed ghosting issue

This commit is contained in:
EmosewaMC 2022-02-05 17:56:19 -08:00
parent b8c1f7629e
commit 6ac90f98d1

View File

@ -35,7 +35,7 @@ void dZoneManager::Initialize(const LWOZONEID& zoneID) {
const auto min = zone->ghostdistance_min != -1.0f ? zone->ghostdistance_min : 100; const auto min = zone->ghostdistance_min != -1.0f ? zone->ghostdistance_min : 100;
const auto max = zone->ghostdistance != -1.0f ? zone->ghostdistance : 100; const auto max = zone->ghostdistance != -1.0f ? zone->ghostdistance : 100;
EntityManager::Instance()->SetGhostDistanceMax(max + min); EntityManager::Instance()->SetGhostDistanceMax(max + min);
EntityManager::Instance()->SetGhostDistanceMin(min); EntityManager::Instance()->SetGhostDistanceMin(max);
m_PlayerLoseCoinsOnDeath = zone->PlayerLoseCoinsOnDeath; m_PlayerLoseCoinsOnDeath = zone->PlayerLoseCoinsOnDeath;
} }
} }