Files @ r11976:ae6aa97461b7
Branch filter:

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

rubidium
(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate
/* $Id$ */

/** @file ai_subsidylist.cpp Implementation of AISubsidyList. */

#include "ai_subsidylist.hpp"
#include "ai_subsidy.hpp"
#include "../../economy_func.h"

AISubsidyList::AISubsidyList()
{
	for (uint i = 0; i < lengthof(_subsidies); i++) {
		if (AISubsidy::IsValidSubsidy(i)) this->AddItem(i);
	}
}