summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-03-15 19:24:13 +0000
committersmatz <smatz@openttd.org>2008-03-15 19:24:13 +0000
commit89e9bbfa98e5dd01a7624e2937a60a2999c3c289 (patch)
tree3be73f8fde1f8198c15d4883d46aacd6a2b311de /src/train.h
parentbfae49aeb2affaf239f7e9b04b6b7e226830e962 (diff)
downloadopenttd-89e9bbfa98e5dd01a7624e2937a60a2999c3c289.tar.xz
(svn r12369) -Fix (r1681): reset train speed limits when _patches.realistic_acceleration changes
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/train.h b/src/train.h
index 816b7b77c..677f66915 100644
--- a/src/train.h
+++ b/src/train.h
@@ -274,6 +274,7 @@ byte FreightWagonMult(CargoID cargo);
int CheckTrainInDepot(const Vehicle *v, bool needs_to_be_stopped);
int CheckTrainStoppedInDepot(const Vehicle *v);
+void UpdateTrainAcceleration(Vehicle* v);
/**
* This class 'wraps' Vehicle; you do not actually instantiate this class.