(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:
rubidium
2009-10-06 21:19:20 +00:00
parent d52fa73bb1
commit 80f0df17ba
2 changed files with 8 additions and 8 deletions

View File

@@ -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;