Add way to mass cancel vehicle go to depot/service

This commit is contained in:
Jonathan G Rennison
2018-03-29 19:37:16 +01:00
parent 2821599f6b
commit 53dd010f3b
7 changed files with 45 additions and 23 deletions

View File

@@ -962,6 +962,9 @@ public:
DoCommandP(0, DEPOT_MASS_SEND | (index == ADI_SERVICE ? DEPOT_SERVICE : 0U), this->vli.Pack(), GetCmdSendToDepot(this->vli.vtype));
break;
}
case ADI_CANCEL_DEPOT:
DoCommandP(0, DEPOT_MASS_SEND | DEPOT_CANCEL, this->vli.Pack(), GetCmdSendToDepot(this->vli.vtype));
break;
case ADI_ADD_SHARED: // Add shared Vehicles
assert(Group::IsValidID(this->vli.index));