summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_subsidylist.cpp
blob: 8e5d96ad9ab15d3b47a79db0867752784f8e8a5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* $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);
	}
}