(svn r17732) -Codechange: reorder some variables of cargo packets/cargo lists to get better alignment *and* smaller structs; both from 40 bytes to 32 bytes on 64 bits.
This commit is contained in:
@@ -28,8 +28,8 @@ void InitializeCargoPackets()
|
||||
|
||||
CargoPacket::CargoPacket(StationID source, uint16 count, SourceType source_type, SourceID source_id) :
|
||||
count(count),
|
||||
source(source),
|
||||
source_id(source_id)
|
||||
source_id(source_id),
|
||||
source(source)
|
||||
{
|
||||
this->source_type = source_type;
|
||||
|
||||
|
Reference in New Issue
Block a user