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

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

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

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