1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 15:09:10 +00:00

(svn r13622) -Fix [FS#2109]: only the front of a RV would be considered when determining to what cargos a vehicle can be refitted instead of all cargos.

This commit is contained in:
rubidium
2008-06-24 13:47:15 +00:00
parent 47933d2ddb
commit 5b973282de

View File

@@ -219,7 +219,7 @@ static RefitList *BuildRefitList(const Vehicle *v)
} }
} }
} }
} while (v->type == VEH_TRAIN && (u = u->Next()) != NULL && num_lines < max_lines); } while ((v->type == VEH_TRAIN || v->type == VEH_ROAD) && (u = u->Next()) != NULL && num_lines < max_lines);
list->num_lines = num_lines; list->num_lines = num_lines;
list->items = refit; list->items = refit;