summaryrefslogtreecommitdiff
path: root/src/subsidy.cpp
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2019-02-20 21:35:41 +0000
committerPeterN <peter@fuzzle.org>2019-03-26 20:15:57 +0000
commit297fd3dda3abe353ebe2fe77c67b011e24d403bc (patch)
tree916615e2c4e8eaeed982b9293bea3b76a0a29374 /src/subsidy.cpp
parent2bc2de9034d3b75a253b849cf7a703b1a503e200 (diff)
downloadopenttd-297fd3dda3abe353ebe2fe77c67b011e24d403bc.tar.xz
Codechange: Replaced SmallVector::Include() with include()
Diffstat (limited to 'src/subsidy.cpp')
-rw-r--r--src/subsidy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subsidy.cpp b/src/subsidy.cpp
index eac81e362..8f823a1ab 100644
--- a/src/subsidy.cpp
+++ b/src/subsidy.cpp
@@ -577,7 +577,7 @@ bool CheckSubsidised(CargoID cargo_type, CompanyID company, SourceType src_type,
for (TileIndex tile = it; tile != INVALID_TILE; tile = ++it) {
if (!IsTileType(tile, MP_HOUSE)) continue;
const Town *t = Town::GetByTile(tile);
- if (t->cache.part_of_subsidy & POS_DST) towns_near.Include(t);
+ if (t->cache.part_of_subsidy & POS_DST) include(towns_near, t);
}
break;
}