(svn r22116) -Codechange: use PoolBase::Clean() at more places

This commit is contained in:
smatz
2011-02-19 23:05:47 +00:00
parent 642fb19d4f
commit 756cc6cf65
28 changed files with 37 additions and 117 deletions

View File

@@ -2009,9 +2009,3 @@ bool Order::ShouldStopAtStation(const Vehicle *v, StationID station) const
/* Finally do stop when there is no non-stop flag set for this type of station. */
!(this->GetNonStopType() & (is_dest_station ? ONSF_NO_STOP_AT_DESTINATION_STATION : ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS));
}
void InitializeOrders()
{
_order_pool.CleanPool();
_orderlist_pool.CleanPool();
}