From 1938a73c90db32244162a927e51c1903fed779f9 Mon Sep 17 00:00:00 2001 From: truelight Date: Thu, 3 Feb 2005 17:22:35 +0000 Subject: (svn r1776) -Add: Dynamic stations. You can now have up to 64k of stations --- ttd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ttd.c') diff --git a/ttd.c b/ttd.c index abc59df83..342b84d5c 100644 --- a/ttd.c +++ b/ttd.c @@ -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); -- cgit v1.2.3-54-g00ecf