From 6ac90f98d116c9b31e1dc4f2c67afb25b2976f39 Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Sat, 5 Feb 2022 17:56:19 -0800 Subject: [PATCH] fixed ghosting issue --- dZoneManager/dZoneManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dZoneManager/dZoneManager.cpp b/dZoneManager/dZoneManager.cpp index 687c93f9..e5de1beb 100644 --- a/dZoneManager/dZoneManager.cpp +++ b/dZoneManager/dZoneManager.cpp @@ -35,7 +35,7 @@ void dZoneManager::Initialize(const LWOZONEID& zoneID) { const auto min = zone->ghostdistance_min != -1.0f ? zone->ghostdistance_min : 100; const auto max = zone->ghostdistance != -1.0f ? zone->ghostdistance : 100; EntityManager::Instance()->SetGhostDistanceMax(max + min); - EntityManager::Instance()->SetGhostDistanceMin(min); + EntityManager::Instance()->SetGhostDistanceMin(max); m_PlayerLoseCoinsOnDeath = zone->PlayerLoseCoinsOnDeath; } }