Merge branch 'master' into jgrpp
# Conflicts: # src/saveload/cargopacket_sl.cpp # src/saveload/saveload.h # src/strings.cpp # src/vehicle.cpp
This commit is contained in:
@@ -569,7 +569,7 @@ void VehicleCargoList::AgeCargo()
|
||||
for (ConstIterator it(this->packets.begin()); it != this->packets.end(); it++) {
|
||||
CargoPacket *cp = *it;
|
||||
/* If we're at the maximum, then we can't increase no more. */
|
||||
if (cp->days_in_transit == 0xFF) continue;
|
||||
if (cp->days_in_transit == UINT16_MAX) continue;
|
||||
|
||||
cp->days_in_transit++;
|
||||
this->cargo_days_in_transit += cp->count;
|
||||
|
Reference in New Issue
Block a user