Codechange: Replace FOR_VEHICLE_ORDERS with range-based for loops
This commit is contained in:
@@ -392,6 +392,4 @@ public:
|
||||
void DebugCheckSanity() const;
|
||||
};
|
||||
|
||||
#define FOR_VEHICLE_ORDERS(v, order) for (order = (v->orders.list == nullptr) ? nullptr : v->orders.list->GetFirstOrder(); order != nullptr; order = order->next)
|
||||
|
||||
#endif /* ORDER_BASE_H */
|
||||
|
Reference in New Issue
Block a user