src/station_cmd.cpp
changeset 8574 7a10054a7d2a
parent 8573 a0a5f36a982e
child 8596 c3404405f3f5
equal deleted inserted replaced
8573:a0a5f36a982e 8574:7a10054a7d2a
   597 		GetAcceptanceAroundTiles(
   597 		GetAcceptanceAroundTiles(
   598 			accepts,
   598 			accepts,
   599 			TileXY(rect.min_x, rect.min_y),
   599 			TileXY(rect.min_x, rect.min_y),
   600 			rect.max_x - rect.min_x + 1,
   600 			rect.max_x - rect.min_x + 1,
   601 			rect.max_y - rect.min_y + 1,
   601 			rect.max_y - rect.min_y + 1,
   602 			_patches.modified_catchment ? FindCatchmentRadius(st) : CA_UNMODIFIED
   602 			_patches.modified_catchment ? FindCatchmentRadius(st) : (uint)CA_UNMODIFIED
   603 		);
   603 		);
   604 	} else {
   604 	} else {
   605 		memset(accepts, 0, sizeof(accepts));
   605 		memset(accepts, 0, sizeof(accepts));
   606 	}
   606 	}
   607 
   607