From b1e2ae44d6564709c0947319849a4928f0d0f949 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 20 Aug 2006 19:31:58 +0000 Subject: (svn r6005) -Cleanup: introduce IndustryID and use it -Cleanup: use TownID and StationID for two instances of uint16 --- economy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'economy.c') diff --git a/economy.c b/economy.c index 602417648..0e6f3eb5c 100644 --- a/economy.c +++ b/economy.c @@ -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; -- cgit v1.2.3-70-g09d2