Files @ r12404:d58b2d050240
Branch filter:

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

#include "ai_signlist.hpp"
#include "ai_sign.hpp"
#include "../../signs_base.h"

AISignList::AISignList()
{
	Sign *s;
	FOR_ALL_SIGNS(s) {
		if (AISign::IsValidSign(s->index)) this->AddItem(s->index);
	}
}