Files @ r11069:3f09c162966b
Branch filter:

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

rubidium
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
/* $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);
	}
}