mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 17:39:09 +00:00
Doc: [AI] UnshareOrders empties the orders list of the vehicle.
This commit is contained in:
committed by
Niels Martin Hansen
parent
c4fe46a475
commit
ba55f93f41
@@ -578,6 +578,7 @@ public:
|
||||
|
||||
/**
|
||||
* Removes the given vehicle from a shared orders list.
|
||||
* After unsharing orders, the orders list of the vehicle is empty.
|
||||
* @param vehicle_id The vehicle to remove from the shared order list.
|
||||
* @pre ScriptVehicle::IsValidVehicle(vehicle_id).
|
||||
* @return True if and only if the unsharing succeeded.
|
||||
|
Reference in New Issue
Block a user