Changeset - r10219:b51822226de2
[Not reviewed]
master
0 1 0
frosch - 16 years ago 2008-10-05 18:42:59
frosch@openttd.org
(svn r14442) -Fix (r14406): Typo causing problems in rare cases.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/autoreplace_cmd.cpp
Show inline comments
 
@@ -105,7 +105,7 @@ static void TransferCargo(Vehicle *old_v
 

	
 
		/* Find free space in the new chain */
 
		for (Vehicle *dest = new_head; dest != NULL && src->cargo.Count() > 0; dest = dest->Next()) {
 
			if (!part_of_chain && dest->type == VEH_TRAIN && dest != new_head && dest != new_head->u.rail.other_multiheaded_part && !IsArticulatedPart(src)) {
 
			if (!part_of_chain && dest->type == VEH_TRAIN && dest != new_head && dest != new_head->u.rail.other_multiheaded_part && !IsArticulatedPart(dest)) {
 
				/* Skip vehicles, which do not belong to new_head */
 
				dest = GetLastEnginePart(dest);
 
				continue;
0 comments (0 inline, 0 general)