(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.
This commit is contained in:
@@ -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? */
|
||||
|
Reference in New Issue
Block a user