(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:
rubidium
2010-12-22 21:16:34 +00:00
parent fba9670a62
commit a38a1e7b0d
2 changed files with 99 additions and 78 deletions

View File

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