diff options
author | Darkvater <darkvater@openttd.org> | 2006-03-26 22:23:32 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-03-26 22:23:32 +0000 |
commit | d5909f901a8558dbfc562c75a387d66251c6ed20 (patch) | |
tree | 2a31936844a550db9aea12a9b2645bfd4e7e7fa2 /industry.h | |
parent | 76f1609ee165bfe66a5250144ced8654e28e36ff (diff) | |
download | openttd-d5909f901a8558dbfc562c75a387d66251c6ed20.tar.xz |
(svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.
Diffstat (limited to 'industry.h')
-rw-r--r-- | industry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/industry.h b/industry.h index ef2ec6f38..d2e67304c 100644 --- a/industry.h +++ b/industry.h @@ -10,10 +10,10 @@ struct Industry { byte width; /* swapped order of w/h with town */ byte height; const Town* town; - byte produced_cargo[2]; + CargoID produced_cargo[2]; uint16 cargo_waiting[2]; byte production_rate[2]; - byte accepts_cargo[3]; + CargoID accepts_cargo[3]; byte prod_level; uint16 last_mo_production[2]; uint16 last_mo_transported[2]; |