diff options
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/station.cpp b/src/station.cpp index 9ddebb10e..02f165b6f 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -79,6 +79,10 @@ Station::~Station() free(speclist); xy = 0; + + for (CargoID c = 0; c < NUM_CARGO; c++) { + goods[c].cargo.Truncate(0); + } } void* Station::operator new(size_t size) |