(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

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