Batch depot order removals when deleting companies

This commit is contained in:
Jonathan G Rennison
2024-02-26 20:07:36 +00:00
parent 8caa4d8708
commit a429bddbac
3 changed files with 61 additions and 2 deletions

View File

@@ -15,6 +15,8 @@
#include "company_type.h"
/* Functions */
void StartRemoveOrderFromAllVehiclesBatch();
void StopRemoveOrderFromAllVehiclesBatch();
void RemoveOrderFromAllVehicles(OrderType type, DestinationID destination, bool hangar = false);
void InvalidateVehicleOrder(const Vehicle *v, int data);
void CheckOrders(const Vehicle*);