From d5909f901a8558dbfc562c75a387d66251c6ed20 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sun, 26 Mar 2006 22:23:32 +0000 Subject: (svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type. --- industry.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'industry.h') 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]; -- cgit v1.2.3-54-g00ecf