diff options
author | smatz <smatz@openttd.org> | 2009-05-16 23:44:36 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-05-16 23:44:36 +0000 |
commit | ed1e54bd84074412ea9f273b7cd86aed42d844ce (patch) | |
tree | 4a5ab5dbd304f9a53f8f0065bc6965b1680ded78 /src/ai | |
parent | 6221d74644922ea4bbba3ed9cd8bbec42398f77b (diff) | |
download | openttd-ed1e54bd84074412ea9f273b7cd86aed42d844ce.tar.xz |
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_core.cpp b/src/ai/ai_core.cpp index 625c707a9..16ad01452 100644 --- a/src/ai/ai_core.cpp +++ b/src/ai/ai_core.cpp @@ -104,7 +104,7 @@ /* static */ void AI::KillAll() { /* It might happen there are no companies .. than we have nothing to loop */ - if (GetCompanyPoolSize() == 0) return; + if (Company::GetPoolSize() == 0) return; const Company *c; FOR_ALL_COMPANIES(c) { |