mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-09 01:38:20 +00:00
fixed ghosting issue
This commit is contained in:
parent
b8c1f7629e
commit
6ac90f98d1
@ -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