Files @ r12093:9b5fcebbe51e
Branch filter:

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

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

/** @file ai_railtypelist.cpp Implementation of AIRailTypeList and friends. */

#include "ai_railtypelist.hpp"
#include "../../rail.h"
#include "../../company_func.h"

AIRailTypeList::AIRailTypeList()
{
	for (RailType rt = RAILTYPE_BEGIN; rt != RAILTYPE_END; rt++) {
		if (::HasRailtypeAvail(_current_company, rt)) this->AddItem(rt);
	}
}