summaryrefslogtreecommitdiff
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
commit869b5d3b97d5b39e02d85fe0b276737213aaedcd (patch)
treecbb55b669ca85174ae5e419b6e049d598389cde3
parent94c39638411022e683521affddb23b5866e4a313 (diff)
downloadopenttd-869b5d3b97d5b39e02d85fe0b276737213aaedcd.tar.xz
(svn r6615) - Fix (r6601): Fix bug that prevented subtypes appearing in some cases.
-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 */