# HG changeset patch # User rubidium # Date 1214315235 0 # Node ID d322c7fa3a220cd892d555c50d4271926b465194 # Parent 7ebca843450b76ab4ba09702ca9d71de0b22593e (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. diff -r 7ebca843450b -r d322c7fa3a22 src/vehicle_gui.cpp --- a/src/vehicle_gui.cpp Tue Jun 24 11:42:01 2008 +0000 +++ b/src/vehicle_gui.cpp Tue Jun 24 13:47:15 2008 +0000 @@ -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;