diff options
author | truelight <truelight@openttd.org> | 2005-02-01 18:32:01 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-02-01 18:32:01 +0000 |
commit | 777dd99585ca5a775cd189eedd81e27d3ca395ed (patch) | |
tree | b7d40aab99c9bff1a5304e4659c8cc7748b8a881 /ttd.c | |
parent | 6d5fdc2b6883f3522ccd0d4fa49e5855c5c70f79 (diff) | |
download | openttd-777dd99585ca5a775cd189eedd81e27d3ca395ed.tar.xz |
(svn r1764) -Add: dynamic towns, you can now have up to 64k towns (let me know when
you have that amount of towns in a map ;))
Diffstat (limited to 'ttd.c')
-rw-r--r-- | ttd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -503,7 +503,6 @@ static void InitializeDynamicVariables(void) _vehicles_size = lengthof(_vehicles); _vehicle_sort = NULL; - _towns_size = lengthof(_towns); _town_sort = NULL; _industries_size = lengthof(_industries); @@ -516,6 +515,8 @@ static void InitializeDynamicVariables(void) static void UnInitializeDynamicVariables(void) { /* Dynamic stuff needs to be free'd somewhere... */ + CleanPool(&_town_pool); + free(_station_sort); free(_vehicle_sort); |