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 | 2dd7a5d296988a6862281ffe7b0057e48105e6a9 (patch) | |
tree | c0df7dce8df2117cbd5b8833a3cc661a360dea88 /src/town_cmd.cpp | |
parent | 974109446414b91dc80194e6228b27101e61a64f (diff) | |
download | openttd-2dd7a5d296988a6862281ffe7b0057e48105e6a9.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++) |