diff options
author | truelight <truelight@openttd.org> | 2005-02-03 17:22:35 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-02-03 17:22:35 +0000 |
commit | 1938a73c90db32244162a927e51c1903fed779f9 (patch) | |
tree | be17b2ce20037210425d4757c66ffc50cccc6d77 /ttd.c | |
parent | f1d4a85f5989e65998c326864fa59dadf9065e47 (diff) | |
download | openttd-1938a73c90db32244162a927e51c1903fed779f9.tar.xz |
(svn r1776) -Add: Dynamic stations. You can now have up to 64k of stations
Diffstat (limited to 'ttd.c')
-rw-r--r-- | ttd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -495,7 +495,6 @@ static void ParseResolution(int res[2], char *s) static void InitializeDynamicVariables(void) { /* Dynamic stuff needs to be initialized somewhere... */ - _stations_size = lengthof(_stations); _roadstops_size = lengthof(_roadstops); _vehicles_size = lengthof(_vehicles); _sign_size = lengthof(_sign_list); @@ -512,6 +511,7 @@ static void UnInitializeDynamicVariables(void) /* Dynamic stuff needs to be free'd somewhere... */ CleanPool(&_town_pool); CleanPool(&_industry_pool); + CleanPool(&_station_pool); free(_station_sort); free(_vehicle_sort); |