1
0
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:
Samu
2019-02-19 14:15:17 +00:00
committed by Niels Martin Hansen
parent c4fe46a475
commit ba55f93f41

View File

@@ -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.