summaryrefslogtreecommitdiff
path: root/src/order_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/order_base.h')
-rw-r--r--src/order_base.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/order_base.h b/src/order_base.h
index 67edbb2c2..0490db068 100644
--- a/src/order_base.h
+++ b/src/order_base.h
@@ -243,21 +243,6 @@ public:
void ConvertFromOldSavegame();
};
-static inline VehicleOrderID GetMaxOrderIndex()
-{
- /* TODO - This isn't the real content of the function, but
- * with the new pool-system this will be replaced with one that
- * _really_ returns the highest index. Now it just returns
- * the next safe value we are sure about everything is below.
- */
- return Order::GetPoolSize() - 1;
-}
-
-static inline VehicleOrderID GetNumOrders()
-{
- return Order::GetPoolSize();
-}
-
/** Shared order list linking together the linked list of orders and the list
* of vehicles sharing this order list.
*/