* Return whether this NewGRF can replace an older version of the same NewGRF. */
| 64 | * Return whether this NewGRF can replace an older version of the same NewGRF. |
| 65 | */ |
| 66 | bool GRFConfig::IsCompatible(uint32_t old_version) const |
| 67 | { |
| 68 | return this->min_loadable_version <= old_version && old_version <= this->version; |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Copy the parameter information from the \a src config. |
no outgoing calls
no test coverage detected