diff options
author | smatz <smatz@openttd.org> | 2009-05-23 19:26:00 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-05-23 19:26:00 +0000 |
commit | 4bf70602a116f957ffdbb599d0de6f92a7df0a28 (patch) | |
tree | fe41c9ab9aec050a7036dd9ebb2aaa73524ca9f5 /src/subsidy_func.h | |
parent | 6fc9b04861a16c83ad2be02319954c5bac58892b (diff) | |
download | openttd-4bf70602a116f957ffdbb599d0de6f92a7df0a28.tar.xz |
(svn r16406) -Codechange: constify parameters of CheckSubsidised()
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 608dadfed..063c59233 100644 --- a/src/subsidy_func.h +++ b/src/subsidy_func.h @@ -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 */ |