File diff r21023:33dd3ecfcb94 → r21024:19cdb93700c9
src/town_cmd.cpp
Show inline comments
 
@@ -1314,13 +1314,13 @@ static int GrowTownAtRoad(Town *t, TileI
 

	
 
		/* Try to grow the town from this point */
 
		GrowTownInTile(&tile, cur_rb, target_dir, t);
 

	
 
		/* Exclude the source position from the bitmask
 
		 * and return if no more road blocks available */
 
		cur_rb &= ~DiagDirToRoadBits(ReverseDiagDir(target_dir));
 
		if (IsValidDiagDirection(target_dir)) cur_rb &= ~DiagDirToRoadBits(ReverseDiagDir(target_dir));
 
		if (cur_rb == ROAD_NONE) {
 
			return _grow_town_result;
 
		}
 

	
 
		if (IsTileType(tile, MP_TUNNELBRIDGE)) {
 
			/* Only build in the direction away from the tunnel or bridge. */