(svn r16718) -Codechange: make IsFreeWagon() member of Train
This commit is contained in:
@@ -985,7 +985,7 @@ bool AfterLoadGame()
|
||||
}
|
||||
|
||||
FOR_ALL_TRAINS(v) {
|
||||
if (v->IsFrontEngine() || IsFreeWagon(v)) TrainConsistChanged(v, true);
|
||||
if (v->IsFrontEngine() || v->IsFreeWagon()) TrainConsistChanged(v, true);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -28,7 +28,7 @@ void ConnectMultiheadedTrains()
|
||||
}
|
||||
|
||||
FOR_ALL_TRAINS(v) {
|
||||
if (v->IsFrontEngine() || IsFreeWagon(v)) {
|
||||
if (v->IsFrontEngine() || v->IsFreeWagon()) {
|
||||
/* Two ways to associate multiheaded parts to each other:
|
||||
* sequential-matching: Trains shall be arranged to look like <..>..<..>..<..>..
|
||||
* bracket-matching: Free vehicle chains shall be arranged to look like ..<..<..>..<..>..>..
|
||||
|
Reference in New Issue
Block a user