From 756cc6cf651aa5650f055c70f31f7e07391be8c6 Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 19 Feb 2011 23:05:47 +0000 Subject: (svn r22116) -Codechange: use PoolBase::Clean() at more places --- src/order_cmd.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/order_cmd.cpp') diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index d327aa252..f8a553024 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -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(); -} -- cgit v1.2.3-54-g00ecf