Changeset - r8574:fc02315800db
[Not reviewed]
master
0 3 0
glx - 17 years ago 2008-02-16 00:10:03
glx@openttd.org
(svn r12155) -Fix (r12154): some warnings (always compile before commit)
3 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/ai/default/default.cpp
Show inline comments
 
@@ -3409,7 +3409,7 @@ static bool AiCheckAirportResources(Tile
 
		const AirportFTAClass* airport = GetAirport(p->attr);
 
		uint w = airport->size_x;
 
		uint h = airport->size_y;
 
		uint rad = _patches.modified_catchment ? airport->catchment : CA_UNMODIFIED;
 
		uint rad = _patches.modified_catchment ? airport->catchment : (uint)CA_UNMODIFIED;
 

	
 
		if (cargo & 0x80) {
 
			GetProductionAroundTiles(values, tile2, w, h, rad);
src/airport_gui.cpp
Show inline comments
 
@@ -179,7 +179,7 @@ static void BuildAirportPickerWndProc(Wi
 
		airport = GetAirport(_selected_airport_type);
 
		SetTileSelectSize(airport->size_x, airport->size_y);
 

	
 
		int rad = _patches.modified_catchment ? airport->catchment : CA_UNMODIFIED;
 
		int rad = _patches.modified_catchment ? airport->catchment : (uint)CA_UNMODIFIED;
 

	
 
		if (_station_show_coverage) SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad);
 

	
src/station_cmd.cpp
Show inline comments
 
@@ -599,7 +599,7 @@ static void UpdateStationAcceptance(Stat
 
			TileXY(rect.min_x, rect.min_y),
 
			rect.max_x - rect.min_x + 1,
 
			rect.max_y - rect.min_y + 1,
 
			_patches.modified_catchment ? FindCatchmentRadius(st) : CA_UNMODIFIED
 
			_patches.modified_catchment ? FindCatchmentRadius(st) : (uint)CA_UNMODIFIED
 
		);
 
	} else {
 
		memset(accepts, 0, sizeof(accepts));
0 comments (0 inline, 0 general)