(svn r25346) -Codechange: Glue between stations and flow stats

This commit is contained in:
fonsinchen
2013-06-09 12:49:47 +00:00
parent c8f068d979
commit db671ffb86
3 changed files with 47 additions and 0 deletions

View File

@@ -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;