summaryrefslogtreecommitdiff
path: root/src/train.h
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/train.h
parentdf06c14f610dfce9f3acd8638fc40df16b0d148e (diff)
downloadopenttd-199091600a9040f25c99b20431b5a2e072d19049.tar.xz
(svn r18836) -Codechange: make TrainUpdateSpeed a class function and update some comments (Terkhen)
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/train.h b/src/train.h
index 9ce4764f3..6922ee2ca 100644
--- a/src/train.h
+++ b/src/train.h
@@ -139,6 +139,8 @@ struct Train : public SpecializedVehicle<Train, VEH_TRAIN> {
void CargoChanged();
void PowerChanged();
+ int UpdateSpeed();
+
void UpdateAcceleration();
/**