From 2f7a304303fcbd5e9c24ee2f5a0089bc9e22b82d Mon Sep 17 00:00:00 2001 From: NotAdam Date: Mon, 28 Jan 2019 20:37:51 +1100 Subject: [PATCH] slightly decrease cell size and inrange distance --- src/world/Territory/CellHandler.h | 2 +- src/world/Territory/Zone.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/world/Territory/CellHandler.h b/src/world/Territory/CellHandler.h index 3faca439..7a0f6c86 100644 --- a/src/world/Territory/CellHandler.h +++ b/src/world/Territory/CellHandler.h @@ -3,7 +3,7 @@ #include #define TilesCount 32 -#define TileSize 500.0f +#define TileSize 325.0f #define _minY (-TilesCount*TileSize/2) #define _minX (-TilesCount*TileSize/2) diff --git a/src/world/Territory/Zone.cpp b/src/world/Territory/Zone.cpp index f7d56d10..f691e25a 100644 --- a/src/world/Territory/Zone.cpp +++ b/src/world/Territory/Zone.cpp @@ -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() ) {