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

/** @file ai_buoylist.cpp Implementation of AIBuoyList and friends. */

#include "ai_buoylist.hpp"
#include "../../waypoint_base.h"

AIBuoyList::AIBuoyList()
{
	Waypoint *wp;
	FOR_ALL_WAYPOINTS(wp) {
		if (wp->facilities & FACIL_DOCK) this->AddItem(wp->xy);
	}
}