Files @ r12404:d58b2d050240
Branch filter:

Location: cpp/openttd-patchpack/source/src/ai/api/ai_buoylist.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_buoylist.cpp Implementation of AIBuoyList and friends. */

#include "ai_buoylist.hpp"
#include "../../station_base.h"

AIBuoyList::AIBuoyList()
{
	Station *st;
	FOR_ALL_STATIONS(st) {
		if (st->IsBuoy()) this->AddItem(st->xy);
	}
}