Merge branch 'more_cond_orders' into more_cond_orders-sx
This commit is contained in:
		| @@ -2141,7 +2141,7 @@ VehicleOrderID ProcessConditionalOrder(const Order *order, const Vehicle *v) | |||||||
| 		case OCV_UNCONDITIONALLY:    skip_order = true; break; | 		case OCV_UNCONDITIONALLY:    skip_order = true; break; | ||||||
| 		case OCV_CARGO_WAITING: { | 		case OCV_CARGO_WAITING: { | ||||||
| 			StationID next_station = GetNextRealStation(v, order); | 			StationID next_station = GetNextRealStation(v, order); | ||||||
| 			if (Station::IsValidID(next_station)) skip_order = OrderConditionCompare(occ, !(Station::Get(next_station)->goods[value].cargo.AvailableCount() > 0), value); | 			if (Station::IsValidID(next_station)) skip_order = OrderConditionCompare(occ, (Station::Get(next_station)->goods[value].cargo.AvailableCount() > 0), value); | ||||||
| 				break; | 				break; | ||||||
| 		} | 		} | ||||||
| 		case OCV_CARGO_ACCEPTANCE: { | 		case OCV_CARGO_ACCEPTANCE: { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jonathan G Rennison
					Jonathan G Rennison