diff options
author | rubidium <rubidium@openttd.org> | 2009-07-02 09:06:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-02 09:06:15 +0000 |
commit | 4d14c1b534947ed38780995af4d68bd67b4ae095 (patch) | |
tree | 5afca0f6bf0a5a885285f85755c0cdfa42c7d70f /src/roadveh_gui.cpp | |
parent | 61e735ba4c62e578ca16f708ac1fdc872ff6416d (diff) | |
download | openttd-4d14c1b534947ed38780995af4d68bd67b4ae095.tar.xz |
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
Diffstat (limited to 'src/roadveh_gui.cpp')
-rw-r--r-- | src/roadveh_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/roadveh_gui.cpp b/src/roadveh_gui.cpp index e53a3028c..11e8f3eca 100644 --- a/src/roadveh_gui.cpp +++ b/src/roadveh_gui.cpp @@ -26,7 +26,7 @@ void DrawRoadVehDetails(const Vehicle *v, int left, int right, int y) { const RoadVehicle *rv = RoadVehicle::From(v); - uint y_offset = rv->RoadVehHasArticPart() ? 15 : 0; + uint y_offset = rv->HasArticulatedPart() ? 15 : 0; StringID str; Money feeder_share = 0; @@ -35,7 +35,7 @@ void DrawRoadVehDetails(const Vehicle *v, int left, int right, int y) SetDParam(2, v->value); DrawString(left, right, y + y_offset, STR_VEHICLE_INFO_BUILT_VALUE); - if (rv->RoadVehHasArticPart()) { + if (rv->HasArticulatedPart()) { CargoArray max_cargo; StringID subtype_text[NUM_CARGO]; char capacity[512]; |