summaryrefslogtreecommitdiff
path: root/src/cargotype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cargotype.h')
-rw-r--r--src/cargotype.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cargotype.h b/src/cargotype.h
index e006bc993..03ccf421e 100644
--- a/src/cargotype.h
+++ b/src/cargotype.h
@@ -9,7 +9,7 @@
typedef uint32 CargoLabel;
-typedef struct CargoSpec {
+struct CargoSpec {
uint8 bitnum;
CargoLabel label;
uint32 grfid;
@@ -35,7 +35,7 @@ typedef struct CargoSpec {
uint16 classes;
bool IsValid() const;
-} CargoSpec;
+};
extern uint32 _cargo_mask;