(svn r17124) -Codechange: store subsidies in a pool (instead of an array)

This commit is contained in:
smatz
2009-08-08 20:53:36 +00:00
parent e8c34c300d
commit d59b687f65
7 changed files with 45 additions and 114 deletions

View File

@@ -10,6 +10,6 @@ AISubsidyList::AISubsidyList()
{
const Subsidy *s;
FOR_ALL_SUBSIDIES(s) {
this->AddItem(s->Index());
this->AddItem(s->index);
}
}