summaryrefslogtreecommitdiff
path: root/economy.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-20 19:31:58 +0000
committerrubidium <rubidium@openttd.org>2006-08-20 19:31:58 +0000
commitb1e2ae44d6564709c0947319849a4928f0d0f949 (patch)
tree8eb8f1e784da94913d07088d379166bcfad418da /economy.c
parent893d4ba9d4040b098bc6e0ac04068cda8ff608a2 (diff)
downloadopenttd-b1e2ae44d6564709c0947319849a4928f0d0f949.tar.xz
(svn r6005) -Cleanup: introduce IndustryID and use it
-Cleanup: use TownID and StationID for two instances of uint16
Diffstat (limited to 'economy.c')
-rw-r--r--economy.c4
1 files changed, 2 insertions, 2 deletions
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;