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
commit3d10ae7ec366900db0175bb665f90f0e19e30a0c (patch)
tree3be73f8fde1f8198c15d4883d46aacd6a2b311de /src/train.h
parent1f13638d03d946989cd4e94ea61e744d4e700392 (diff)
downloadopenttd-3d10ae7ec366900db0175bb665f90f0e19e30a0c.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.