# ai_subsidylist.cpp

Go to the documentation of this file.

    00001 /* $Id: ai_subsidylist.cpp 15060 2009-01-13 15:44:36Z smatz $ */
    00002
    00005 #include "ai_subsidylist.hpp"
    00006 #include "ai_subsidy.hpp"
    00007 #include "../../economy_func.h"
    00008
    00009 AISubsidyList::AISubsidyList()
    00010 {
    00011   for (uint i = 0; i < lengthof(_subsidies); i++) {
    00012     if (AISubsidy::IsValidSubsidy(i)) this->AddItem(i);
    00013   }
    00014 }