Files @ r10917:cfd8adad57b0
Branch filter:

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

frosch
(svn r15252) -Fix (r15027): AIMarine::AreWaterTilesConnected() reported aqueducts being connected with all surrounding tiles. Also add some type safety.
/* $Id$ */

/** @file ai_grouplist.cpp Implementation of AIGroupList and friends. */

#include "ai_grouplist.hpp"
#include "../../openttd.h"
#include "../../company_func.h"
#include "../../group.h"

AIGroupList::AIGroupList()
{
	Group *g;
	FOR_ALL_GROUPS(g) {
		if (g->owner == _current_company) this->AddItem(g->index);
	}
}