summaryrefslogtreecommitdiff
path: root/src/economy.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/economy.cpp
parent2bc2de9034d3b75a253b849cf7a703b1a503e200 (diff)
downloadopenttd-297fd3dda3abe353ebe2fe77c67b011e24d403bc.tar.xz
Codechange: Replaced SmallVector::Include() with include()
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index d306fd0ba..1f17612f7 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -1058,7 +1058,7 @@ static uint DeliverGoodsToIndustry(const Station *st, CargoID cargo_type, uint n
if (IndustryTemporarilyRefusesCargo(ind, cargo_type)) continue;
/* Insert the industry into _cargo_delivery_destinations, if not yet contained */
- _cargo_delivery_destinations.Include(ind);
+ include(_cargo_delivery_destinations, ind);
uint amount = min(num_pieces, 0xFFFFU - ind->incoming_cargo_waiting[cargo_index]);
ind->incoming_cargo_waiting[cargo_index] += amount;