summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-03-26 22:23:32 +0000
committerDarkvater <Darkvater@openttd.org>2006-03-26 22:23:32 +0000
commite91fa54a157e73958e2bc7cbf212c8ef7df75d6b (patch)
tree2a31936844a550db9aea12a9b2645bfd4e7e7fa2 /vehicle.h
parentd3a98e09618594016a0d2b7c60e49a64efee3fab (diff)
downloadopenttd-e91fa54a157e73958e2bc7cbf212c8ef7df75d6b.tar.xz
(svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.h b/vehicle.h
index f2ce6efb1..63f6bbdf1 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -178,7 +178,7 @@ struct Vehicle {
byte vehstatus; // Status
uint16 last_station_visited;
- byte cargo_type; // type of cargo this vehicle is carrying
+ CargoID cargo_type; // type of cargo this vehicle is carrying
byte cargo_days; // how many days have the pieces been in transit
uint16 cargo_source;// source of cargo
uint16 cargo_cap; // total capacity