From 13e23141b418214db51e1463bb3696a4e6d87129 Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 8 Aug 2009 20:53:36 +0000 Subject: (svn r17124) -Codechange: store subsidies in a pool (instead of an array) --- src/ai/api/ai_subsidylist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai') diff --git a/src/ai/api/ai_subsidylist.cpp b/src/ai/api/ai_subsidylist.cpp index 430899cb4..a487fd131 100644 --- a/src/ai/api/ai_subsidylist.cpp +++ b/src/ai/api/ai_subsidylist.cpp @@ -10,6 +10,6 @@ AISubsidyList::AISubsidyList() { const Subsidy *s; FOR_ALL_SUBSIDIES(s) { - this->AddItem(s->Index()); + this->AddItem(s->index); } } -- cgit v1.2.3-70-g09d2