1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-23 20:24:12 +01:00
Files
OpenTTD/src/ai/api/ai_grouplist.cpp

16 lines
299 B
C++

/* $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);
}
}