(svn r6005) -Cleanup: introduce IndustryID and use it
-Cleanup: use TownID and StationID for two instances of uint16
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user