equal
deleted
inserted
replaced
501 return MODE_START_STOP; |
501 return MODE_START_STOP; |
502 } |
502 } |
503 |
503 |
504 void DepotClick(int x, int y) |
504 void DepotClick(int x, int y) |
505 { |
505 { |
506 GetDepotVehiclePtData gdvp; |
506 GetDepotVehiclePtData gdvp = { NULL, NULL }; |
507 Vehicle *v = NULL; |
507 Vehicle *v = NULL; |
508 DepotGUIAction mode = this->GetVehicleFromDepotWndPt(x, y, &v, &gdvp); |
508 DepotGUIAction mode = this->GetVehicleFromDepotWndPt(x, y, &v, &gdvp); |
509 |
509 |
510 /* share / copy orders */ |
510 /* share / copy orders */ |
511 if (_thd.place_mode != VHM_NONE && mode != MODE_ERROR) { |
511 if (_thd.place_mode != VHM_NONE && mode != MODE_ERROR) { |