summaryrefslogtreecommitdiff
path: root/src/cargopacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cargopacket.cpp')
-rw-r--r--src/cargopacket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cargopacket.cpp b/src/cargopacket.cpp
index 79c31d9d8..b84dc46ec 100644
--- a/src/cargopacket.cpp
+++ b/src/cargopacket.cpp
@@ -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;