diff options
author | peter1138 <peter1138@openttd.org> | 2007-03-22 23:19:40 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-03-22 23:19:40 +0000 |
commit | 99319163455495cea0cd57ceb386a1960b051bfa (patch) | |
tree | 6a5889d1da669a907cf785ed15397ef5c50d00a8 /src/cargotype.h | |
parent | c5cc1ff3823b58373366c71310b34fb2a568c032 (diff) | |
download | openttd-99319163455495cea0cd57ceb386a1960b051bfa.tar.xz |
(svn r9411) -Codechange: Add support for loading of newcargo data.
Diffstat (limited to 'src/cargotype.h')
-rw-r--r-- | src/cargotype.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cargotype.h b/src/cargotype.h index e34c6980a..1bb157202 100644 --- a/src/cargotype.h +++ b/src/cargotype.h @@ -31,7 +31,7 @@ struct CargoSpec { bool is_freight; TownEffect town_effect; ///< The effect this cargo type has on towns uint16 multipliertowngrowth; - uint8 callbackflags; + uint8 callback_mask; StringID name; StringID name_plural; @@ -48,6 +48,7 @@ struct CargoSpec { extern uint32 _cargo_mask; +extern CargoSpec _cargo[NUM_CARGO]; /* Set up the default cargo types for the given landscape type */ |