Files @ r12093:9b5fcebbe51e
Branch filter:

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

yexo
(svn r16509) -Fix (r16502): All Sleep/DoCommand calls failed instead of only those via a call/acall/pcall function
/* $Id$ */

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

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

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