(svn r6005) -Cleanup: introduce IndustryID and use it
-Cleanup: use TownID and StationID for two instances of uint16
This commit is contained in:
@@ -844,7 +844,7 @@ Pair SetupSubsidyDecodeParam(const Subsidy* s, bool mode)
|
||||
return tp;
|
||||
}
|
||||
|
||||
void DeleteSubsidyWithIndustry(uint16 index)
|
||||
void DeleteSubsidyWithIndustry(IndustryID index)
|
||||
{
|
||||
Subsidy *s;
|
||||
|
||||
@@ -857,7 +857,7 @@ void DeleteSubsidyWithIndustry(uint16 index)
|
||||
}
|
||||
}
|
||||
|
||||
void DeleteSubsidyWithStation(uint16 index)
|
||||
void DeleteSubsidyWithStation(StationID index)
|
||||
{
|
||||
Subsidy *s;
|
||||
bool dirty = false;
|
||||
|
||||
Reference in New Issue
Block a user