mirror of https://github.com/OpenTTD/OpenTTD
(svn r8768) -Fix (r8767): VC8 compilation failed 'warning C4146: unary minus operator applied to unsigned type, result still unsigned'
parent
8aacd2585d
commit
fe1d448cf8
|
@ -174,7 +174,7 @@ static void BuildAirportPickerWndProc(Window *w, WindowEvent *e)
|
|||
airport = GetAirport(_selected_airport_type);
|
||||
SetTileSelectSize(airport->size_x, airport->size_y);
|
||||
|
||||
uint rad = _patches.modified_catchment ? airport->catchment : 4;
|
||||
int rad = _patches.modified_catchment ? airport->catchment : 4;
|
||||
|
||||
if (_station_show_coverage) SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad);
|
||||
|
||||
|
|
Loading…
Reference in New Issue