Files @ r12093:9b5fcebbe51e
Branch filter:

Location: cpp/openttd-patchpack/source/src/ai/api/ai_industrytypelist.cpp

yexo
(svn r16509) -Fix (r16502): All Sleep/DoCommand calls failed instead of only those via a call/acall/pcall function
/* $Id$ */

/** @file ai_industrytypelist.cpp Implementation of AIIndustryTypeList. */

#include "ai_industrytypelist.hpp"
#include "../../tile_type.h"
#include "../../industry.h"

AIIndustryTypeList::AIIndustryTypeList()
{
	for (int i = 0; i < NUM_INDUSTRYTYPES; i++) {
		if (AIIndustryType::IsValidIndustryType(i)) this->AddItem(i);
	}
}