* Appends an element to a list of GRFs * @param dst the head of the list to add to * @param el the new tail to be */
| 397 | * @param el the new tail to be |
| 398 | */ |
| 399 | void AppendToGRFConfigList(GRFConfigList &dst, std::unique_ptr<GRFConfig> &&el) |
| 400 | { |
| 401 | dst.push_back(std::move(el)); |
| 402 | RemoveDuplicatesFromGRFConfigList(dst); |
| 403 | } |
| 404 | |
| 405 | |
| 406 | /** Reset the current GRF Config to either blank or newgame settings. */ |
no test coverage detected