summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/train_cmd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp
index 6eecf5e5b..7f903f497 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -3442,6 +3442,7 @@ static void TrainController(Train *v, Vehicle *nomove)
if (GetTileRailType(gp.new_tile) != GetTileRailType(gp.old_tile)) {
v->First()->PowerChanged();
+ v->First()->UpdateAcceleration();
}
v->track = chosen_track;