summaryrefslogtreecommitdiff
path: root/src/cargopacket.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-10-18 13:39:00 +0000
committerrubidium <rubidium@openttd.org>2009-10-18 13:39:00 +0000
commit2e766884f65812b2eca1580e8dbd1d58298263b6 (patch)
tree2c4bb0059b7143aed2281f6b9257d4107710d84f /src/cargopacket.cpp
parent94003b455cf9a556a1bdafef450222d30cd31ee3 (diff)
downloadopenttd-2e766884f65812b2eca1580e8dbd1d58298263b6.tar.xz
(svn r17795) -Codechange: split cargolist into one for vehicles and one for stations.
Diffstat (limited to 'src/cargopacket.cpp')
-rw-r--r--src/cargopacket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cargopacket.cpp b/src/cargopacket.cpp
index 5f964c5e3..ec42fe6b3 100644
--- a/src/cargopacket.cpp
+++ b/src/cargopacket.cpp
@@ -90,7 +90,7 @@ void CargoList::AddToCache(const CargoPacket *cp)
this->cargo_days_in_transit += cp->days_in_transit * cp->count;
}
-void CargoList::AgeCargo()
+void VehicleCargoList::AgeCargo()
{
for (List::const_iterator it = this->packets.begin(); it != this->packets.end(); it++) {
/* If we're at the maximum, then we can't increase no more. */