diff options
author | truelight <truelight@openttd.org> | 2005-02-06 10:24:57 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-02-06 10:24:57 +0000 |
commit | 020c1e9b6c228ee812ed85ecc02dc52847940821 (patch) | |
tree | 6c6585bdaca582be23e16326cdd45058a6e3a17f /ttd.c | |
parent | e9c93f9c0ca76117ac1315b6aff03f1f138f62e4 (diff) | |
download | openttd-020c1e9b6c228ee812ed85ecc02dc52847940821.tar.xz |
(svn r1818) -Add: Dynamic orders (up to 64k orders)
Diffstat (limited to 'ttd.c')
-rw-r--r-- | ttd.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -440,8 +440,6 @@ static void ParseResolution(int res[2], char *s) static void InitializeDynamicVariables(void) { /* Dynamic stuff needs to be initialized somewhere... */ - _orders_size = lengthof(_orders); - _station_sort = NULL; _vehicle_sort = NULL; _town_sort = NULL; @@ -456,6 +454,7 @@ static void UnInitializeDynamicVariables(void) CleanPool(&_station_pool); CleanPool(&_vehicle_pool); CleanPool(&_sign_pool); + CleanPool(&_order_pool); free(_station_sort); free(_vehicle_sort); |