mirror of
https://github.com/ENSL/NS.git
synced 2025-01-21 08:50:55 +00:00
Commander selection cull distance increased to fix unupgradable structures that are vertically far from the commander. Credit to AlienBird.
This commit is contained in:
parent
dd3691c877
commit
8ef9ff1f92
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ bool AvHSelectionHelper::SelectUnitsInRegion(const Vector& inPointOfView, const
|
|||
{
|
||||
#ifdef AVH_SERVER
|
||||
// Assumes that entities won't be too far away
|
||||
float theRadius = GetGameRules()->GetMapExtents().GetTopDownCullDistance()*2;
|
||||
float theRadius = GetGameRules()->GetMapExtents().GetTopDownCullDistance()*4;
|
||||
|
||||
CBaseEntity* theBaseEntity = NULL;
|
||||
while((theBaseEntity = UTIL_FindEntityInSphere(theBaseEntity, inPointOfView, theRadius)) != NULL)
|
||||
|
|
Loading…
Reference in a new issue