summaryrefslogtreecommitdiff
path: root/src/order_type.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-11-02 22:58:40 +0100
committerMichael Lutz <michi@icosahedron.de>2021-12-16 22:28:32 +0100
commit211c630cbe4185a2adf8b8cd8f52ca58f8bf17ed (patch)
tree89290b522a2852d71e9a71c43b6d581fb8d1d36d /src/order_type.h
parentde45a8729c0f1ab965e4adf4e6ad7095a4a678c8 (diff)
downloadopenttd-211c630cbe4185a2adf8b8cd8f52ca58f8bf17ed.tar.xz
Codechange: Un-bitstuff order commands.
Diffstat (limited to 'src/order_type.h')
-rw-r--r--src/order_type.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/order_type.h b/src/order_type.h
index 9f4d0ba22..674352907 100644
--- a/src/order_type.h
+++ b/src/order_type.h
@@ -140,7 +140,7 @@ enum OrderConditionComparator {
/**
* Enumeration for the data to set in #CmdModifyOrder.
*/
-enum ModifyOrderFlags {
+enum ModifyOrderFlags : byte {
MOF_NON_STOP, ///< Passes an OrderNonStopFlags.
MOF_STOP_LOCATION, ///< Passes an OrderStopLocation.
MOF_UNLOAD, ///< Passes an OrderUnloadType.
@@ -177,7 +177,7 @@ template <> struct EnumPropsT<ModifyTimetableFlags> : MakeEnumPropsT<ModifyTimet
/** Clone actions. */
-enum CloneOptions {
+enum CloneOptions : byte {
CO_SHARE = 0,
CO_COPY = 1,
CO_UNSHARE = 2