1
0
Fork 0

(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.

release/0.7
rubidium 2008-06-24 13:47:15 +00:00
parent 47933d2ddb
commit 5b973282de
1 changed files with 1 additions and 1 deletions

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->items = refit;