(svn r2011) - Fix: [ 1162209 ] Fix OS/2 build (orudge) #2

This commit is contained in:
darkvater
2005-03-15 12:21:59 +00:00
parent 2c762a67ab
commit cc99c3e262
3 changed files with 8 additions and 5 deletions

View File

@@ -634,10 +634,13 @@ static void UpdateStationAcceptance(Station *st, bool show_msg)
uint old_acc, new_acc;
const RoadStop *cur_rs;
int i;
Rectangle rect = { MapSizeX(), MapSizeY(), 0, 0 };
Rectangle rect;
int rad;
AcceptedCargo accepts;
rect.min_x = MapSizeX();
rect.min_y = MapSizeY();
rect.max_x = rect.max_y = 0;
// Don't update acceptance for a buoy
if (st->had_vehicle_of_type & HVOT_BUOY)
return;