summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-02 09:06:15 +0000
committerrubidium <rubidium@openttd.org>2009-07-02 09:06:15 +0000
commit4d14c1b534947ed38780995af4d68bd67b4ae095 (patch)
tree5afca0f6bf0a5a885285f85755c0cdfa42c7d70f /src/depot_gui.cpp
parent61e735ba4c62e578ca16f708ac1fdc872ff6416d (diff)
downloadopenttd-4d14c1b534947ed38780995af4d68bd67b4ae095.tar.xz
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index e1710c8ed..1e88a4855 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -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;
}