mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-07 11:17:46 +00:00
Better detection of housing subdivisions
This commit is contained in:
parent
569fe373d1
commit
fbe38df8fa
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ void Sapphire::HousingZone::sendLandUpdate( uint8_t landId )
|
||||||
|
|
||||||
bool Sapphire::HousingZone::isPlayerSubInstance( Entity::Player& player )
|
bool Sapphire::HousingZone::isPlayerSubInstance( Entity::Player& player )
|
||||||
{
|
{
|
||||||
return player.getPos().x < -15000.0f; //ToDo: get correct pos
|
return player.getPos().x < -400.0f && player.getPos().z < -400.0f; //ToDo: get correct pos
|
||||||
}
|
}
|
||||||
|
|
||||||
void Sapphire::HousingZone::onUpdate( uint64_t tickCount )
|
void Sapphire::HousingZone::onUpdate( uint64_t tickCount )
|
||||||
|
|
Loading…
Add table
Reference in a new issue