(svn r12633) -Fix: could not make a (go-to) depot order.

This commit is contained in:
rubidium
2008-04-08 22:41:14 +00:00
parent adc84cd786
commit d7afec34ac
2 changed files with 5 additions and 5 deletions

View File

@@ -169,7 +169,7 @@ public:
/** What caused us going to the depot? */
inline OrderDepotTypeFlags GetDepotOrderType() const { return (OrderDepotTypeFlags)this->flags; }
/** What are we going to do when in the depot. */
inline OrderDepotActionFlags GetDepotActionType() const { return (OrderDepotActionFlags)this->flags; }
inline OrderDepotActionFlags GetDepotActionType() const { return (OrderDepotActionFlags)(this->flags & ODATFB_HALT); }
/** Set how the consist must be loaded. */
inline void SetLoadType(OrderLoadFlags load_type) { SB(this->flags, 2, 1, !!load_type); }