summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/station.cpp b/src/station.cpp
index da5f09025..9f078a1a2 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -97,6 +97,11 @@ Station::~Station()
delete lg;
}
}
+ Station *st;
+ FOR_ALL_STATIONS(st) {
+ GoodsEntry *ge = &st->goods[c];
+ ge->flows.DeleteFlows(this->index);
+ }
}
Vehicle *v;