diff options
author | rubidium <rubidium@openttd.org> | 2010-01-16 22:16:28 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-16 22:16:28 +0000 |
commit | 199091600a9040f25c99b20431b5a2e072d19049 (patch) | |
tree | f2f4709c89cb96fab89d186af77cc93b162d4a52 /src/train.h | |
parent | df06c14f610dfce9f3acd8638fc40df16b0d148e (diff) | |
download | openttd-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.h | 2 |
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(); /** |