summaryrefslogtreecommitdiff
path: root/src/order_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2011-02-19 23:05:47 +0000
committersmatz <smatz@openttd.org>2011-02-19 23:05:47 +0000
commit756cc6cf651aa5650f055c70f31f7e07391be8c6 (patch)
tree8bf5af85e6523ad91ce99606e2b068b9f7513976 /src/order_cmd.cpp
parent642fb19d4fe4fbb249ddc314f75a35282ce6d28d (diff)
downloadopenttd-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.cpp6
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();
-}