equal
deleted
inserted
replaced
4004 /* Set up the default cargo types */ |
4004 /* Set up the default cargo types */ |
4005 SetupCargoForClimate(_opt.landscape); |
4005 SetupCargoForClimate(_opt.landscape); |
4006 |
4006 |
4007 /* Generate default cargo translation table */ |
4007 /* Generate default cargo translation table */ |
4008 memset(_default_cargo_list, 0, sizeof(_default_cargo_list)); |
4008 memset(_default_cargo_list, 0, sizeof(_default_cargo_list)); |
4009 for (CargoID c = 0; c != NUM_CARGO; c++) { |
4009 for (CargoID c = 0; c < NUM_CARGO; c++) { |
4010 const CargoSpec *cs = GetCargo(c); |
4010 const CargoSpec *cs = GetCargo(c); |
4011 if (cs->IsValid()) _default_cargo_list[cs->bitnum] = cs->label; |
4011 if (cs->IsValid()) _default_cargo_list[cs->bitnum] = cs->label; |
4012 } |
4012 } |
4013 |
4013 |
4014 /* Reset misc GRF features and train list display variables */ |
4014 /* Reset misc GRF features and train list display variables */ |