(svn r26660) -Fix: CargoPacket::SourceStation() returns a StationID.
This commit is contained in:
@@ -157,7 +157,7 @@ public:
|
|||||||
* Gets the ID of the station where the cargo was loaded for the first time.
|
* Gets the ID of the station where the cargo was loaded for the first time.
|
||||||
* @return StationID.
|
* @return StationID.
|
||||||
*/
|
*/
|
||||||
inline SourceID SourceStation() const
|
inline StationID SourceStation() const
|
||||||
{
|
{
|
||||||
return this->source;
|
return this->source;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user