(svn r20261) [1.0] -Backport from trunk:

- Fix: Make it possible to properly assess the length of the rail toolbar caption, don't require '{WHITE}' control codes (r20242)
- Fix: Check for disallowed level crossings also when converting rail (r20237)
- Fix: Haiku uses a 'special' location for headers (r20219)
- Fix: Desync due to (temporary) wrong railtype; when loading a savegame the railtype of some (high ID) trains could be wrong [FS#3945] (r20137)
This commit is contained in:
rubidium
2010-07-31 18:27:54 +00:00
parent 9531e10e82
commit 00a2f93bd6
5 changed files with 21 additions and 7 deletions
+1 -2
View File
@@ -601,8 +601,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);
}
}