(svn r19215) -Codechange: Add Order::GetLocation() to deduplicate code.
This commit is contained in:
@@ -209,6 +209,7 @@ public:
|
||||
inline void SetConditionValue(uint16 value) { SB(this->dest, 0, 11, value); }
|
||||
|
||||
bool ShouldStopAtStation(const Vehicle *v, StationID station) const;
|
||||
TileIndex GetLocation(const Vehicle *v) const;
|
||||
|
||||
/** Checks if this order has travel_time and if needed wait_time set. */
|
||||
inline bool IsCompletelyTimetabled() const
|
||||
|
Reference in New Issue
Block a user