diff options
author | rubidium <rubidium@openttd.org> | 2007-08-03 20:18:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-08-03 20:18:38 +0000 |
commit | 655b2048e5cf6a02ca08c04ac01ca3f74da5bcdd (patch) | |
tree | c0df7dce8df2117cbd5b8833a3cc661a360dea88 /src/town_cmd.cpp | |
parent | 9df2e25258122f76184b92648a4cc9717f68f9f5 (diff) | |
download | openttd-655b2048e5cf6a02ca08c04ac01ca3f74da5bcdd.tar.xz |
(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 24a14edc7..7c731b39e 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -2292,8 +2292,8 @@ void InitializeTowns() Subsidy *s; /* Clean the town pool and create 1 block in it */ - CleanPool(&_Town_pool); - AddBlockToPool(&_Town_pool); + _Town_pool.CleanPool(); + _Town_pool.AddBlockToPool(); memset(_subsidies, 0, sizeof(_subsidies)); for (s=_subsidies; s != endof(_subsidies); s++) |