Mercurial > hg > openttd
changeset 9584:43d2a71dbcd9 draft
(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.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Tue, 24 Jun 2008 13:47:15 +0000 |
parents | 87a47b4bb074 |
children | a4be9bcc1d04 |
files | src/vehicle_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -219,7 +219,7 @@ } } } - } 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;