(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
This commit is contained in:
@@ -43,7 +43,7 @@ static int32 ClickMoneyCheat(int32 p1, int32 p2)
|
||||
*/
|
||||
static int32 ClickChangeCompanyCheat(int32 p1, int32 p2)
|
||||
{
|
||||
while ((uint)p1 < GetCompanyPoolSize()) {
|
||||
while ((uint)p1 < Company::GetPoolSize()) {
|
||||
if (IsValidCompanyID((CompanyID)p1)) {
|
||||
SetLocalCompany((CompanyID)p1);
|
||||
return _local_company;
|
||||
|
Reference in New Issue
Block a user