summaryrefslogtreecommitdiff
path: root/vehicle_gui.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-10-02 16:03:31 +0000
committerpeter1138 <peter1138@openttd.org>2006-10-02 16:03:31 +0000
commit09ba17f51c105251b575b9b8eff4ac3a0830edad (patch)
treecbb55b669ca85174ae5e419b6e049d598389cde3 /vehicle_gui.c
parentb20a23d25d0c9bbc8817a0b2f38d6a38a43a221a (diff)
downloadopenttd-09ba17f51c105251b575b9b8eff4ac3a0830edad.tar.xz
(svn r6615) - Fix (r6601): Fix bug that prevented subtypes appearing in some cases.
Diffstat (limited to 'vehicle_gui.c')
-rw-r--r--vehicle_gui.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c
index 54bfee54c..93bb054a6 100644
--- a/vehicle_gui.c
+++ b/vehicle_gui.c
@@ -246,8 +246,6 @@ static RefitList *BuildRefitList(const Vehicle *v)
refit[num_lines].value = callback;
refit[num_lines].engine = u->engine_type;
num_lines++;
-
- if (callback == CALLBACK_FAILED) break;
}
/* Reset the vehicle's cargo type */