mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-24 06:59: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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user