| 213 | } |
| 214 | |
| 215 | void Load(Town *t) const override |
| 216 | { |
| 217 | size_t length = IsSavegameVersionBefore(SLV_SAVELOAD_LIST_LENGTH) ? static_cast<size_t>(TAE_END) : SlGetStructListLength(TAE_END); |
| 218 | for (size_t i = 0; i < length; i++) { |
| 219 | SlObject(&t->received[i], this->GetLoadDescription()); |
| 220 | } |
| 221 | } |
| 222 | }; |
| 223 | |
| 224 | class SlTownAcceptanceMatrix : public DefaultSaveLoadHandler<SlTownAcceptanceMatrix, Town> { |
nothing calls this directly
no test coverage detected