summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-01-19 18:41:53 +0000
committerterkhen <terkhen@openttd.org>2011-01-19 18:41:53 +0000
commitcfbbcf159736e18965ac7b187ca9a11b712edc65 (patch)
treefe9a88a7ac34b0768d5ae6c74fcb1d23d8d5a95a /src/vehicle.cpp
parent10a7678beb83801daed3aaf5b14b715afc4d52e3 (diff)
downloadopenttd-cfbbcf159736e18965ac7b187ca9a11b712edc65.tar.xz
(svn r21858) -Codechange: Give more similar names to ArticulatedPart functions.
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 397c13a99..2222c0bc9 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -2373,7 +2373,7 @@ void GetVehicleSet(VehicleSet &set, Vehicle *v, uint8 num_vehicles)
u = u->GetFirstEnginePart();
while (u->index != v->index) {
set.Include(u->index);
- u = u->GetNextArticPart();
+ u = u->GetNextArticulatedPart();
}
}