diff options
author | truelight <truelight@openttd.org> | 2005-02-04 13:23:29 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-02-04 13:23:29 +0000 |
commit | 42f98c7eec8cd46ea8452911fb4381f209de342f (patch) | |
tree | 512961ac36580ababc52512c67235f48f4bef8c8 /ttd.c | |
parent | 88ebe22d8b6e844b501688673f71db3505ea2b57 (diff) | |
download | openttd-42f98c7eec8cd46ea8452911fb4381f209de342f.tar.xz |
(svn r1783) -Add: Dynamic vehicles (now up to 64k of vehicles)
Diffstat (limited to 'ttd.c')
-rw-r--r-- | ttd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -496,7 +496,6 @@ static void InitializeDynamicVariables(void) { /* Dynamic stuff needs to be initialized somewhere... */ _roadstops_size = lengthof(_roadstops); - _vehicles_size = lengthof(_vehicles); _sign_size = lengthof(_sign_list); _orders_size = lengthof(_orders); @@ -512,6 +511,7 @@ static void UnInitializeDynamicVariables(void) CleanPool(&_town_pool); CleanPool(&_industry_pool); CleanPool(&_station_pool); + CleanPool(&_vehicle_pool); free(_station_sort); free(_vehicle_sort); |