mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 05:53:34 +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 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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user