mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r16406) -Codechange: constify parameters of CheckSubsidised()
This commit is contained in:
parent
6fc9b04861
commit
4bf70602a1
@ -286,7 +286,7 @@ no_add:;
|
||||
InvalidateWindow(WC_SUBSIDIES_LIST, 0);
|
||||
}
|
||||
|
||||
bool CheckSubsidised(Station *from, Station *to, CargoID cargo_type)
|
||||
bool CheckSubsidised(const Station *from, const Station *to, CargoID cargo_type)
|
||||
{
|
||||
Subsidy *s;
|
||||
TileIndex xy;
|
||||
|
@ -16,7 +16,7 @@ Pair SetupSubsidyDecodeParam(const Subsidy *s, bool mode);
|
||||
void DeleteSubsidyWithTown(TownID index);
|
||||
void DeleteSubsidyWithIndustry(IndustryID index);
|
||||
void DeleteSubsidyWithStation(StationID index);
|
||||
bool CheckSubsidised(Station *from, Station *to, CargoID cargo_type);
|
||||
bool CheckSubsidised(const Station *from, const Station *to, CargoID cargo_type);
|
||||
void SubsidyMonthlyHandler();
|
||||
|
||||
#endif /* SUBSIDY_FUNC_H */
|
||||
|
Loading…
Reference in New Issue
Block a user