| 54 | } |
| 55 | |
| 56 | void Load() const override |
| 57 | { |
| 58 | const std::vector<SaveLoad> slt = SlCompatTableHeader(description, _label_object_sl_compat); |
| 59 | |
| 60 | _railtype_list.reserve(RAILTYPE_END); |
| 61 | |
| 62 | LabelObject<RailTypeLabel> lo; |
| 63 | |
| 64 | while (SlIterateArray() != -1) { |
| 65 | SlObject(&lo, slt); |
| 66 | _railtype_list.push_back(lo); |
| 67 | } |
| 68 | } |
| 69 | }; |
| 70 | |
| 71 | struct ROTTChunkHandler : ChunkHandler { |
nothing calls this directly
no test coverage detected