mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
parent
3f83eaafc4
commit
48c11f661b
@ -287,7 +287,7 @@ void CZonePlacer::placeOnGrid(CRandomGenerator* rand)
|
||||
else
|
||||
{
|
||||
//Has direct connection - place as close as possible
|
||||
localDistance = -(gridSize - 1);
|
||||
localDistance = -potentialPos.dist2d(int3(existingX, existingY, 0));
|
||||
}
|
||||
|
||||
//Spread apart player starting zones
|
||||
|
Loading…
Reference in New Issue
Block a user