(svn r18812) -Codechange: make some functions in train.h functions of Train.

This commit is contained in:
rubidium
2010-01-15 18:23:52 +00:00
parent 7acb21987b
commit ea240269dc
10 changed files with 84 additions and 80 deletions

View File

@@ -573,8 +573,8 @@ bool SettingsDisableElrail(int32 p1)
FOR_ALL_TRAINS(t) {
/* power and acceleration is cached only for front engines */
if (t->IsFrontEngine()) {
TrainPowerChanged(t);
UpdateTrainAcceleration(t);
t->PowerChanged();
t->UpdateAcceleration();
}
}