Commander selection cull distance increased to fix unupgradable structures that are vertically far from the commander. Credit to AlienBird.

This commit is contained in:
pierow 2021-01-04 13:34:39 -05:00
parent dd3691c877
commit 8ef9ff1f92
1 changed files with 1 additions and 1 deletions

View File

@ -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)