mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
Merge pull request #435 from EmosewaMC/ghosting-fix
fixed ghosting issue
This commit is contained in:
commit
b7d7146821
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user