(svn r6005) -Cleanup: introduce IndustryID and use it

-Cleanup: use TownID and StationID for two instances of uint16
This commit is contained in:
rubidium
2006-08-20 19:31:58 +00:00
parent db397d5a75
commit 43af0ced5f
6 changed files with 9 additions and 8 deletions

View File

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