summaryrefslogtreecommitdiff
path: root/depot.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-03-26 22:41:56 +0000
committerDarkvater <Darkvater@openttd.org>2006-03-26 22:41:56 +0000
commit0df43399414ee0fd33f314116d75fb754837d3e3 (patch)
tree9bd460410009e4e5c945bf15b225b476092a0fe6 /depot.h
parent921a4d8a1364138252c23d6464a542e5066321cc (diff)
downloadopenttd-0df43399414ee0fd33f314116d75fb754837d3e3.tar.xz
(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.
Diffstat (limited to 'depot.h')
-rw-r--r--depot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/depot.h b/depot.h
index 1cc87e316..3ab106881 100644
--- a/depot.h
+++ b/depot.h
@@ -15,7 +15,7 @@
struct Depot {
TileIndex xy;
- uint16 town_index;
+ TownID town_index;
uint16 index;
};