diff options
author | smatz <smatz@openttd.org> | 2011-02-19 23:05:47 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2011-02-19 23:05:47 +0000 |
commit | 756cc6cf651aa5650f055c70f31f7e07391be8c6 (patch) | |
tree | 8bf5af85e6523ad91ce99606e2b068b9f7513976 /src/order_cmd.cpp | |
parent | 642fb19d4fe4fbb249ddc314f75a35282ce6d28d (diff) | |
download | openttd-756cc6cf651aa5650f055c70f31f7e07391be8c6.tar.xz |
(svn r22116) -Codechange: use PoolBase::Clean() at more places
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r-- | src/order_cmd.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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(); -} |