src/ai/api/ai_townlist.cpp
author glx
Sun, 15 Jun 2008 22:56:43 +0000
branchnoai
changeset 10973 8577bc56132c
parent 10339 ce6cd68d9eb8
permissions -rw-r--r--
(svn r13527) [NoAI] -Fix (r13525): squirrel_export doesn't like extra semicolon
/* $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);
	}
}