(svn r16406) -Codechange: constify parameters of CheckSubsidised()

This commit is contained in:
smatz
2009-05-23 19:26:00 +00:00
parent 6bad10d216
commit c1861060f7
2 changed files with 2 additions and 2 deletions

View File

@@ -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;