summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2014-06-21 19:52:52 +0000
committerfonsinchen <fonsinchen@openttd.org>2014-06-21 19:52:52 +0000
commit7096d42bb366ddba6d1f86ecce93e695160219cc (patch)
tree694c5fdcdcdc91f25f51d5b6458ac3c00b9a985e /src
parent9fe08122a7ef6b5e0cce21e121ceb3fceafd49f5 (diff)
downloadopenttd-7096d42bb366ddba6d1f86ecce93e695160219cc.tar.xz
(svn r26660) -Fix: CargoPacket::SourceStation() returns a StationID.
Diffstat (limited to 'src')
-rw-r--r--src/cargopacket.h2
1 files changed, 1 insertions, 1 deletions
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;
}