(svn r4130) - CodeChange: Add proper semantics for TownID for such variables instead of using the general uint16-type. We probably need to change GetTown() and IsTownIndex() as well to use TownID.

This commit is contained in:
Darkvater
2006-03-26 22:41:56 +00:00
parent 921a4d8a13
commit 0df4339941
5 changed files with 7 additions and 5 deletions

View File

@@ -23,6 +23,7 @@ VARDEF Economy _economy;
typedef struct Subsidy {
CargoID cargo_type;
byte age;
/* from and to can either be TownID, StationID or IndustryID */
uint16 from;
uint16 to;
} Subsidy;