# HG changeset patch # User rubidium # Date 2009-11-20 22:00:28 # Node ID 134b98c7cc2c07cd7170b825cbdadb8926872b0a # Parent d9a01e26bf6c8734bb8a95b21126a6fa4683092c (svn r18202) -Codechange: remove an unused function diff --git a/src/order_base.h b/src/order_base.h --- a/src/order_base.h +++ b/src/order_base.h @@ -402,11 +402,6 @@ public: void UpdateOrderTimetable(int delta) { this->timetable_duration += delta; } /** - * Must be called if the whole timetable is cleared to update internal book keeping. - */ - void ResetOrderTimetable() { this->timetable_duration = 0; } - - /** * Free a complete order chain. * @param keep_orderlist If this is true only delete the orders, otherwise also delete the OrderList. * @note do not use on "current_order" vehicle orders!