summaryrefslogtreecommitdiff
path: root/src/cargopacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cargopacket.cpp')
-rw-r--r--src/cargopacket.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cargopacket.cpp b/src/cargopacket.cpp
index 6caceac98..134238990 100644
--- a/src/cargopacket.cpp
+++ b/src/cargopacket.cpp
@@ -217,7 +217,6 @@ void CargoList::InvalidateCache()
this->empty = this->packets.empty();
this->count = 0;
this->feeder_share = 0;
- this->source = INVALID_STATION;
this->days_in_transit = 0;
if (this->empty) return;
@@ -229,5 +228,4 @@ void CargoList::InvalidateCache()
this->feeder_share += (*it)->feeder_share;
}
this->days_in_transit = dit / count;
- this->source = (*packets.begin())->source;
}