Changeset - r13317:40d17c38b14e
master
0
3
0
(svn r17836) -Codechange: split the CargoPacket constructor for creating 'real' new CargoPackets and saveload. For saveload we do not need to set anything except two variables (the rest is always overwritten by the load), for new 'real' cargo also pass the source_xy; dereferencing st before calling is easier than resolving st->index back to st and then dereferencing. Also don't set loaded_at_xy because that is of no importance when not loaded in a vehicle.
3 files changed with 22 insertions and 13 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)