From 7cafdf3b0bc441586929be57ace0e9510f454381 Mon Sep 17 00:00:00 2001 From: truelight Date: Sat, 15 Jan 2005 19:06:22 +0000 Subject: (svn r1525) -Codechange: rewrote the _order_array, now it can be made dynamic. -Codechange: renamed all 'schedule' stuff to 'order(list)' -Codechange: moved all order-stuff to order_cmd.c / order.h -Codechange: vehicles that share orders are now linked to eachother with next_shared/prev_shared in Vehicle Developers: please use AssignOrder to assign data to an order. If not, you _WILL_ make the save-routine to assert! --- ttd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ttd.c') diff --git a/ttd.c b/ttd.c index 82dbd4e9c..df0d7a5e4 100644 --- a/ttd.c +++ b/ttd.c @@ -496,6 +496,7 @@ static void InitializeDynamicVariables(void) _industry_sort = NULL; _sign_size = lengthof(_sign_list); + _orders_size = lengthof(_orders); } static void UnInitializeDynamicVariables(void) -- cgit v1.2.3-54-g00ecf