(svn r23773) -Change: [NewGRF] Update all cached train properties if a train vehicle enters a new railtype.

This commit is contained in:
michi_cc
2012-01-08 12:47:54 +00:00
parent 7e78d15e58
commit 9232a2ef0c
4 changed files with 5 additions and 21 deletions

View File

@@ -530,6 +530,9 @@ void FixupTrainLengths()
}
}
}
/* Update all cached properties after moving the vehicle chain around. */
Train::From(v)->ConsistChanged(true);
}
}
}