summaryrefslogtreecommitdiff
path: root/town_cmd.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 /town_cmd.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 'town_cmd.c')
-rw-r--r--town_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c
index cf3a919c6..7691179cf 100644
--- a/town_cmd.c
+++ b/town_cmd.c
@@ -951,7 +951,7 @@ static Town *AllocateTown(void)
Town *t;
FOR_ALL_TOWNS(t) {
if (t->xy == 0) {
- uint index = t->index;
+ TownID index = t->index;
if (t->index > _total_towns)
_total_towns = t->index;