(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions

This commit is contained in:
rubidium
2009-07-02 09:06:15 +00:00
parent 61e735ba4c
commit 4d14c1b534
13 changed files with 26 additions and 26 deletions

View File

@@ -1355,7 +1355,7 @@ struct VehicleDetailsWindow : Window {
case VEH_ROAD: {
this->widget[VLD_WIDGET_RENAME_VEHICLE].tooltips = STR_QUERY_RENAME_ROAD_CAPTION;
if (!RoadVehicle::From(v)->RoadVehHasArticPart()) break;
if (!RoadVehicle::From(v)->HasArticulatedPart()) break;
/* Draw the text under the vehicle instead of next to it, minus the
* height already allocated for the cargo of the first vehicle. */