summaryrefslogtreecommitdiff
path: root/src/subsidy_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-01 09:45:30 +0000
committerrubidium <rubidium@openttd.org>2009-07-01 09:45:30 +0000
commit8e804a4b6c694c75e6dca6d529332541776c73cb (patch)
tree20de1f2c38acda2126f2c56cbbd0cd21618d506b /src/subsidy_func.h
parente3627dabda09125fa010a5c8eb1618a8ad2d32c0 (diff)
downloadopenttd-8e804a4b6c694c75e6dca6d529332541776c73cb.tar.xz
(svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion.
Diffstat (limited to 'src/subsidy_func.h')
-rw-r--r--src/subsidy_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subsidy_func.h b/src/subsidy_func.h
index 063c59233..fc5a4b155 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(const Station *from, const Station *to, CargoID cargo_type);
+bool CheckSubsidised(const Station *from, const Station *to, CargoID cargo_type, CompanyID company);
void SubsidyMonthlyHandler();
#endif /* SUBSIDY_FUNC_H */