summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-01-15 19:06:22 +0000
committertruelight <truelight@openttd.org>2005-01-15 19:06:22 +0000
commit7cafdf3b0bc441586929be57ace0e9510f454381 (patch)
tree86e7a6e69dee1414ae1e88cfceffd93f1b28ded2 /ttd.c
parent0e651d9702ff028b75ad5834b614a25b4f119257 (diff)
downloadopenttd-7cafdf3b0bc441586929be57ace0e9510f454381.tar.xz
(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!
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c1
1 files changed, 1 insertions, 0 deletions
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)