(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
This commit is contained in:
@@ -860,7 +860,7 @@ struct DepotWindow : Window {
|
||||
loaded [w->cargo_type] += w->cargo.Count();
|
||||
}
|
||||
|
||||
if (w->type == VEH_TRAIN && !Train::From(w)->EngineHasArticPart()) {
|
||||
if (w->type == VEH_TRAIN && !Train::From(w)->HasArticulatedPart()) {
|
||||
num++;
|
||||
if (!whole_chain) break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user