Duringb0e73277
we removed loaded_at_xy, but I kinda forgot that it was a union with next_station. Now next_station wasn't copied anymore, or checked in AreMergable. (cherry picked from commite6c02ebee6
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
e5673a1756
commit
f5d685a525
@@ -533,7 +533,7 @@ struct VEHSChunkHandler : ChunkHandler {
|
||||
|
||||
if (_cargo_count != 0 && IsCompanyBuildableVehicleType(v) && CargoPacket::CanAllocateItem()) {
|
||||
/* Don't construct the packet with station here, because that'll fail with old savegames */
|
||||
CargoPacket *cp = new CargoPacket(_cargo_count, _cargo_periods, _cargo_source, _cargo_source_xy, _cargo_feeder_share);
|
||||
CargoPacket *cp = new CargoPacket(_cargo_count, _cargo_periods, _cargo_source, INVALID_STATION, _cargo_source_xy, _cargo_feeder_share);
|
||||
v->cargo.Append(cp);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user