summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-01-16 22:16:28 +0000
committerrubidium <rubidium@openttd.org>2010-01-16 22:16:28 +0000
commit199091600a9040f25c99b20431b5a2e072d19049 (patch)
treef2f4709c89cb96fab89d186af77cc93b162d4a52 /src/rail_cmd.cpp
parentdf06c14f610dfce9f3acd8638fc40df16b0d148e (diff)
downloadopenttd-199091600a9040f25c99b20431b5a2e072d19049.tar.xz
(svn r18836) -Codechange: make TrainUpdateSpeed a class function and update some comments (Terkhen)
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r--src/rail_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp
index 27a3d39fd..f9d433b2e 100644
--- a/src/rail_cmd.cpp
+++ b/src/rail_cmd.cpp
@@ -1279,7 +1279,7 @@ static Vehicle *UpdateTrainPowerProc(Vehicle *v, void *data)
{
if (v->type != VEH_TRAIN) return NULL;
- /* Similiar checks as in TrainPowerChanged() */
+ /* Similar checks as in Train::PowerChanged() */
Train *t = Train::From(v);
if (t->IsArticulatedPart()) return NULL;