# HG changeset patch # User fonsinchen # Date 2014-06-21 19:52:52 # Node ID 577487d84af268e150b13a6819f375d70c3df102 # Parent 7e5353a730b1fa7fbccfe225f0d6c8ec4da4a2d5 (svn r26660) -Fix: CargoPacket::SourceStation() returns a StationID. diff --git a/src/cargopacket.h b/src/cargopacket.h --- a/src/cargopacket.h +++ b/src/cargopacket.h @@ -157,7 +157,7 @@ public: * Gets the ID of the station where the cargo was loaded for the first time. * @return StationID. */ - inline SourceID SourceStation() const + inline StationID SourceStation() const { return this->source; }