summaryrefslogtreecommitdiff
path: root/src/subsidy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/subsidy.cpp')
-rw-r--r--src/subsidy.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/subsidy.cpp b/src/subsidy.cpp
index c2e9d46ee..d09030df4 100644
--- a/src/subsidy.cpp
+++ b/src/subsidy.cpp
@@ -297,11 +297,11 @@ void SubsidyMonthlyLoop()
{
const CargoSpec *cs = CargoSpec::Get(fr.cargo);
if (cs->town_effect == TE_GOODS || cs->town_effect == TE_FOOD) {
- s->dst_type = ST_INDUSTRY;
- s->dst = ((Industry *)fr.to)->index;
- } else {
s->dst_type = ST_TOWN;
s->dst = ((Town *)fr.to)->index;
+ } else {
+ s->dst_type = ST_INDUSTRY;
+ s->dst = ((Industry *)fr.to)->index;
}
}
add_subsidy: