#include "ai_vehiclelist.hpp" #include "../../player.h" #include "../../vehicle.h" AIVehicleList::AIVehicleList() { Vehicle *v; FOR_ALL_VEHICLES(v) { if (v->owner == _current_player && v->first == NULL) this->AddItem(v->index); } }