summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/elrail.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/elrail.cpp b/src/elrail.cpp
index 3a4275ddd..79e9aa2be 100644
--- a/src/elrail.cpp
+++ b/src/elrail.cpp
@@ -600,8 +600,7 @@ bool SettingsDisableElrail(int32 p1)
FOR_ALL_TRAINS(t) {
/* power and acceleration is cached only for front engines */
if (t->IsFrontEngine()) {
- t->PowerChanged();
- t->UpdateAcceleration();
+ t->ConsistChanged(true);
}
}