equal
deleted
inserted
replaced
95 case VLW_SHARED_ORDERS: |
95 case VLW_SHARED_ORDERS: |
96 FOR_ALL_VEHICLES(v) { |
96 FOR_ALL_VEHICLES(v) { |
97 /* Find a vehicle with the order in question */ |
97 /* Find a vehicle with the order in question */ |
98 if (v->orders != NULL && v->orders->index == index) { |
98 if (v->orders != NULL && v->orders->index == index) { |
99 /* Add all vehicles from this vehicle's shared order list */ |
99 /* Add all vehicles from this vehicle's shared order list */ |
100 for (v = GetFirstVehicleFromSharedList(v); v != NULL; v = v->next_shared) { |
100 for (v = v->FirstShared(); v != NULL; v = v->NextShared()) { |
101 *list->Append() = v; |
101 *list->Append() = v; |
102 } |
102 } |
103 break; |
103 break; |
104 } |
104 } |
105 } |
105 } |