summaryrefslogtreecommitdiff
path: root/src/cargotype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cargotype.h')
-rw-r--r--src/cargotype.h3
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 */