summaryrefslogtreecommitdiff
path: root/src/order_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/order_base.h')
-rw-r--r--src/order_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_base.h b/src/order_base.h
index cb770eaa7..e3daa9098 100644
--- a/src/order_base.h
+++ b/src/order_base.h
@@ -161,7 +161,7 @@ public:
void SetRefit(CargoID cargo, byte subtype = 0);
/** How must the consist be loaded? */
- inline OrderLoadFlags GetLoadType() const { return (OrderLoadFlags)(this->flags & OLFB_FULL_LOAD); }
+ OrderLoadFlags GetLoadType() const;
/** How must the consist be unloaded? */
inline OrderUnloadFlags GetUnloadType() const { return (OrderUnloadFlags)GB(this->flags, 0, 2); }
/** Where must we stop? */