Codechange: Make a k-d tree index of towns
This commit is contained in:
@@ -28,6 +28,7 @@ void RebuildTownCaches()
|
||||
{
|
||||
Town *town;
|
||||
InitializeBuildingCounts();
|
||||
RebuildTownKdtree();
|
||||
|
||||
/* Reset town population and num_houses */
|
||||
FOR_ALL_TOWNS(town) {
|
||||
|
Reference in New Issue
Block a user