Feature: Control + click on a vehicle in the vehicle group window selects and scrolls to the vehicle's group.

This commit is contained in:
stormcone 2019-05-10 19:33:59 +02:00 committed by Charles Pigott
parent 551bde77a4
commit a363933d08
1 changed files with 4 additions and 0 deletions

View File

@ -734,6 +734,10 @@ public:
this->vehicle_sel = v->index;
if (_ctrl_pressed) {
this->SelectGroup(v->group_id);
}
SetObjectToPlaceWnd(SPR_CURSOR_MOUSE, PAL_NONE, HT_DRAG, this);
SetMouseCursorVehicle(v, EIT_IN_LIST);
_cursor.vehchain = true;