Changeset - r9584:43a822343ec9
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-06-24 13:47:15
rubidium@openttd.org
(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.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/vehicle_gui.cpp
Show inline comments
 
@@ -216,13 +216,13 @@ static RefitList *BuildRefitList(const V
 
					refit[num_lines].value   = CALLBACK_FAILED;
 
					refit[num_lines].engine  = INVALID_ENGINE;
 
					num_lines++;
 
				}
 
			}
 
		}
 
	} 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;
 

	
 
	return list;
 
}
0 comments (0 inline, 0 general)