summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_townlist.cpp
blob: 34612d857233e76e22ee86653b89a820dd12304f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* $Id$ */

/** @file ai_townlist.cpp Implementation of AITownList and friends. */

#include "ai_townlist.hpp"
#include "../../openttd.h"
#include "../../town.h"

AITownList::AITownList()
{
	Town *t;
	FOR_ALL_TOWNS(t) {
		this->AddItem(t->index);
	}
}