(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:
rubidium
2008-04-09 18:26:19 +00:00
parent c93e1293cb
commit 2e4044ac81
5 changed files with 15 additions and 5 deletions

View File

@@ -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? */