From 7096d42bb366ddba6d1f86ecce93e695160219cc Mon Sep 17 00:00:00 2001 From: fonsinchen Date: Sat, 21 Jun 2014 19:52:52 +0000 Subject: (svn r26660) -Fix: CargoPacket::SourceStation() returns a StationID. --- src/cargopacket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cargopacket.h b/src/cargopacket.h index 5d0f67166..0ed4fd9bb 100644 --- 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; } -- cgit v1.2.3-54-g00ecf