(svn r14096) -Codechange: merge the shared order's vehicle list management to a single location.
This commit is contained in:
@@ -372,8 +372,7 @@ static void FixOldVehicles()
|
||||
/* If a vehicle has the same orders, add the link to eachother
|
||||
* in both vehicles */
|
||||
if (v->orders == u->orders) {
|
||||
v->next_shared = u;
|
||||
u->prev_shared = v;
|
||||
u->AddToShared(v);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user