1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 07:37:45 +00:00

slightly decrease cell size and inrange distance

This commit is contained in:
NotAdam 2019-01-28 20:37:51 +11:00
parent 93e8c5359a
commit 2f7a304303
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
#include <cassert>
#define TilesCount 32
#define TileSize 500.0f
#define TileSize 325.0f
#define _minY (-TilesCount*TileSize/2)
#define _minX (-TilesCount*TileSize/2)

View file

@ -645,7 +645,7 @@ void Sapphire::Zone::updateInRangeSet( Entity::ActorPtr pActor, Cell* pCell )
auto iter = pCell->m_actors.begin();
float fRange = 150.0f;
float fRange = 100.0f;
int32_t count = 0;
while( iter != pCell->m_actors.end() )
{