Changeset - r11995:e01a309e6bf5
[Not reviewed]
master
0 2 0
smatz - 15 years ago 2009-05-23 19:26:00
smatz@openttd.org
(svn r16406) -Codechange: constify parameters of CheckSubsidised()
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/subsidy.cpp
Show inline comments
 
@@ -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;
src/subsidy_func.h
Show inline comments
 
@@ -16,7 +16,7 @@ Pair SetupSubsidyDecodeParam(const Subsi
 
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 */
0 comments (0 inline, 0 general)