Fix assertion failure on cancel depot/service in vehicle list window
Fixes #61
This commit is contained in:
@@ -1963,6 +1963,9 @@ public:
|
|||||||
case ADI_DEPOT: // Send to Depots
|
case ADI_DEPOT: // Send to Depots
|
||||||
DoCommandP(0, DEPOT_MASS_SEND | (index == ADI_SERVICE ? DEPOT_SERVICE : (DepotCommand)0), this->window_number, GetCmdSendToDepot(this->vli.vtype));
|
DoCommandP(0, DEPOT_MASS_SEND | (index == ADI_SERVICE ? DEPOT_SERVICE : (DepotCommand)0), this->window_number, GetCmdSendToDepot(this->vli.vtype));
|
||||||
break;
|
break;
|
||||||
|
case ADI_CANCEL_DEPOT:
|
||||||
|
DoCommandP(0, DEPOT_MASS_SEND | DEPOT_CANCEL, this->window_number, GetCmdSendToDepot(this->vli.vtype));
|
||||||
|
break;
|
||||||
|
|
||||||
case ADI_DEPOT_SELL:
|
case ADI_DEPOT_SELL:
|
||||||
DoCommandP(0, DEPOT_MASS_SEND | DEPOT_SELL, this->window_number, GetCmdSendToDepot(this->vli.vtype));
|
DoCommandP(0, DEPOT_MASS_SEND | DEPOT_SELL, this->window_number, GetCmdSendToDepot(this->vli.vtype));
|
||||||
|
Reference in New Issue
Block a user