summaryrefslogtreecommitdiff
path: root/station_cmd.c
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
commitd5909f901a8558dbfc562c75a387d66251c6ed20 (patch)
tree2a31936844a550db9aea12a9b2645bfd4e7e7fa2 /station_cmd.c
parent76f1609ee165bfe66a5250144ced8654e28e36ff (diff)
downloadopenttd-d5909f901a8558dbfc562c75a387d66251c6ed20.tar.xz
(svn r4128) - CodeChange: Add proper semantics for CargoID for such variables instead of using the general byte-type.
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c
index f6ee2d2b0..986e73241 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -554,7 +554,7 @@ void GetProductionAroundTiles(AcceptedCargo produced, TileIndex tile,
gpc = _tile_type_procs[GetTileType(tile)]->get_produced_cargo_proc;
if (gpc != NULL) {
- byte cargos[2] = { CT_INVALID, CT_INVALID };
+ CargoID cargos[2] = { CT_INVALID, CT_INVALID };
gpc(tile, cargos);
if (cargos[0] != CT_INVALID) {