diff options
author | rubidium <rubidium@openttd.org> | 2009-10-20 22:24:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-20 22:24:34 +0000 |
commit | 69b8e8e755959af5731e2caf05a421ef949a1bb6 (patch) | |
tree | 3491370b3745e950e35a7aa6fbaa64b970752009 /docs | |
parent | 79906f7ffef0543a10ffa530fbb95431a0fbe838 (diff) | |
download | openttd-69b8e8e755959af5731e2caf05a421ef949a1bb6.tar.xz |
(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.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions