summaryrefslogtreecommitdiff
path: root/src/cargo_type.h
diff options
context:
space:
mode:
authorPeterN <peter@fuzzle.org>2018-06-26 13:32:58 +0100
committerGitHub <noreply@github.com>2018-06-26 13:32:58 +0100
commit11ab3c4ea2f6a6d29efda8c9ba2af04194621ea7 (patch)
tree88a8cbfb1cd8ddc630cc4e63ffc9ac436e9c4153 /src/cargo_type.h
parent7eca4a9b47e5bdf5123be6158c89be8ebeb213d6 (diff)
downloadopenttd-11ab3c4ea2f6a6d29efda8c9ba2af04194621ea7.tar.xz
Change: Increase cargo type limit to 64.
Diffstat (limited to 'src/cargo_type.h')
-rw-r--r--src/cargo_type.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cargo_type.h b/src/cargo_type.h
index 402e81c1b..c84f1f490 100644
--- a/src/cargo_type.h
+++ b/src/cargo_type.h
@@ -63,14 +63,14 @@ enum CargoType {
CT_PLASTIC = 10,
CT_FIZZY_DRINKS = 11,
- NUM_CARGO = 32, ///< Maximal number of cargo types in a game.
+ NUM_CARGO = 64, ///< Maximal number of cargo types in a game.
CT_AUTO_REFIT = 0xFD, ///< Automatically choose cargo type when doing auto refitting.
CT_NO_REFIT = 0xFE, ///< Do not refit cargo of a vehicle (used in vehicle orders and auto-replace/auto-new).
CT_INVALID = 0xFF, ///< Invalid cargo type.
};
-typedef uint32 CargoTypes;
+typedef uint64 CargoTypes;
static const CargoTypes ALL_CARGOTYPES = (CargoTypes)UINT32_MAX;