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:
parent
93e8c5359a
commit
2f7a304303
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#define TilesCount 32
|
#define TilesCount 32
|
||||||
#define TileSize 500.0f
|
#define TileSize 325.0f
|
||||||
#define _minY (-TilesCount*TileSize/2)
|
#define _minY (-TilesCount*TileSize/2)
|
||||||
#define _minX (-TilesCount*TileSize/2)
|
#define _minX (-TilesCount*TileSize/2)
|
||||||
|
|
||||||
|
|
|
@ -645,7 +645,7 @@ void Sapphire::Zone::updateInRangeSet( Entity::ActorPtr pActor, Cell* pCell )
|
||||||
|
|
||||||
auto iter = pCell->m_actors.begin();
|
auto iter = pCell->m_actors.begin();
|
||||||
|
|
||||||
float fRange = 150.0f;
|
float fRange = 100.0f;
|
||||||
int32_t count = 0;
|
int32_t count = 0;
|
||||||
while( iter != pCell->m_actors.end() )
|
while( iter != pCell->m_actors.end() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue