diff options
author | rubidium42 <rubidium@openttd.org> | 2021-07-03 08:03:33 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-07-03 11:26:13 +0200 |
commit | 979783f90e9c5939e645448cf9aac01f86c37fc9 (patch) | |
tree | 89070f06c4ab82fed478d0fae0ddd931f1b74988 /src/subsidy_func.h | |
parent | 1d9912134df71a0adee5de92b83b9bb361f1f151 (diff) | |
download | openttd-979783f90e9c5939e645448cf9aac01f86c37fc9.tar.xz |
Codechange: replace InjectDParam/ShiftParameters by setting the right parameter values in the first place
Diffstat (limited to 'src/subsidy_func.h')
-rw-r--r-- | src/subsidy_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subsidy_func.h b/src/subsidy_func.h index 5cd7a3118..a33c5d8bf 100644 --- a/src/subsidy_func.h +++ b/src/subsidy_func.h @@ -17,7 +17,7 @@ #include "news_type.h" #include "subsidy_base.h" -std::pair<NewsReferenceType, NewsReferenceType> SetupSubsidyDecodeParam(const struct Subsidy *s, SubsidyDecodeParamType mode); +std::pair<NewsReferenceType, NewsReferenceType> SetupSubsidyDecodeParam(const struct Subsidy *s, SubsidyDecodeParamType mode, uint parameter_offset = 0); void DeleteSubsidyWith(SourceType type, SourceID index); bool CheckSubsidised(CargoID cargo_type, CompanyID company, SourceType src_type, SourceID src, const Station *st); void RebuildSubsidisedSourceAndDestinationCache(); |