From ed1e54bd84074412ea9f273b7cd86aed42d844ce Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 16 May 2009 23:44:36 +0000 Subject: (svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize() --- src/ai/ai_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai') 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) { -- cgit v1.2.3-70-g09d2