summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */