diff options
author | alberth <alberth@openttd.org> | 2010-11-05 16:34:22 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-11-05 16:34:22 +0000 |
commit | fa13971337e00ffcd02524bd8a8ce794001564f9 (patch) | |
tree | 624dda236f4e315b455ee599f2009d04f1fdff75 /src/train_cmd.cpp | |
parent | 5e3991e20e39fdbe772c68b58ad2fcb88acdf707 (diff) | |
download | openttd-fa13971337e00ffcd02524bd8a8ce794001564f9.tar.xz |
(svn r21088) -Doc: Additions/corrections of doxygen comments.
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r-- | src/train_cmd.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 5a80a9880..2983f76f1 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -2810,6 +2810,11 @@ int Train::UpdateSpeed() return scaled_spd; } +/** + * Trains enters a station, send out a news item if it is the first train, and start loading. + * @param v Train that entered the station. + * @param station Station visited. + */ static void TrainEnterStation(Train *v, StationID station) { v->last_station_visited = station; |