forked from mirror/OpenTTD
Feature: Control + click on a vehicle in the vehicle group window selects and scrolls to the vehicle's group.
This commit is contained in:
committed by
Charles Pigott
parent
551bde77a4
commit
a363933d08
@@ -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;
|
||||
|
Reference in New Issue
Block a user