(svn r21602) -Codechange: split actual adding/removing of orders to/from a vehicle's order list from the validation of those (user) commands. Based on patch by fonsinchen
This commit is contained in:
@@ -254,6 +254,9 @@ public:
|
||||
void ConvertFromOldSavegame();
|
||||
};
|
||||
|
||||
void InsertOrder(Vehicle *v, Order *new_o, VehicleOrderID sel_ord);
|
||||
void DeleteOrder(Vehicle *v, VehicleOrderID sel_ord);
|
||||
|
||||
/**
|
||||
* Shared order list linking together the linked list of orders and the list
|
||||
* of vehicles sharing this order list.
|
||||
|
Reference in New Issue
Block a user