Files @ r12404:d58b2d050240
Branch filter:

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

alberth
(svn r16848) -Fix: Trying to reduce a nested widget window further than the smallest alowed size should not crash the game.
/* $Id$ */

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

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

AISubsidyList::AISubsidyList()
{
	const Subsidy *s;
	FOR_ALL_SUBSIDIES(s) {
		this->AddItem(s->Index());
	}
}