equal
deleted
inserted
replaced
769 /* No vehicle could be flooded on this airport anymore */ |
769 /* No vehicle could be flooded on this airport anymore */ |
770 return NULL; |
770 return NULL; |
771 } |
771 } |
772 |
772 |
773 /* if non-uniform stations are disabled, flood some train in this train station (if there is any) */ |
773 /* if non-uniform stations are disabled, flood some train in this train station (if there is any) */ |
774 if (!_settings.station.nonuniform_stations && IsTileType(tile, MP_STATION) && GetStationType(tile) == STATION_RAIL) { |
774 if (!_settings_game.station.nonuniform_stations && IsTileType(tile, MP_STATION) && GetStationType(tile) == STATION_RAIL) { |
775 const Station *st = GetStationByTile(tile); |
775 const Station *st = GetStationByTile(tile); |
776 |
776 |
777 BEGIN_TILE_LOOP(t, st->trainst_w, st->trainst_h, st->train_tile) |
777 BEGIN_TILE_LOOP(t, st->trainst_w, st->trainst_h, st->train_tile) |
778 if (st->TileBelongsToRailStation(t)) { |
778 if (st->TileBelongsToRailStation(t)) { |
779 Vehicle *v = FindVehicleOnTileZ(t, 0); |
779 Vehicle *v = FindVehicleOnTileZ(t, 0); |