diff options
author | smatz <smatz@openttd.org> | 2009-08-08 20:53:36 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-08-08 20:53:36 +0000 |
commit | 13e23141b418214db51e1463bb3696a4e6d87129 (patch) | |
tree | 3b092f293fd5fdc1c1dd17120ba874d919824bf0 /src/ai/api | |
parent | 8d809d5f4c21afbed4bbeb0388d42a9c5718a755 (diff) | |
download | openttd-13e23141b418214db51e1463bb3696a4e6d87129.tar.xz |
(svn r17124) -Codechange: store subsidies in a pool (instead of an array)
Diffstat (limited to 'src/ai/api')
-rw-r--r-- | src/ai/api/ai_subsidylist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |