diff options
author | rubidium <rubidium@openttd.org> | 2008-04-09 18:26:19 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-09 18:26:19 +0000 |
commit | 82155367f6118c0a43a74eb842cf25b23d143d49 (patch) | |
tree | ddb520943c26dd780e20324992cfd08a769fb197 /src/order_base.h | |
parent | d1783459473251e2d7f392a3013fe6a8bbef4316 (diff) | |
download | openttd-82155367f6118c0a43a74eb842cf25b23d143d49.tar.xz |
(svn r12640) -Codechange: let GetLoadType make a difference between full load and full load any based on the patch setting instead of using the patch setting directly.
Diffstat (limited to 'src/order_base.h')
-rw-r--r-- | src/order_base.h | 2 |
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? */ |