(svn r18971) -Fix: Train acceleration for original acceleration model wasn't updated if the train's power changed.

This commit is contained in:
peter1138 2010-01-31 12:56:32 +00:00
parent 075217f7b5
commit f990c1ecba

View File

@ -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;