mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
Open train vehicle details window on total cargo tab if ctrl presed
This commit is contained in:
parent
b81967f42a
commit
793d01ec74
@ -2369,6 +2369,7 @@ struct VehicleDetailsWindow : Window {
|
||||
|
||||
this->owner = v->owner;
|
||||
this->tab = TDW_TAB_CARGO;
|
||||
if (v->type == VEH_TRAIN && _ctrl_pressed) this->tab = TDW_TAB_TOTALS;
|
||||
}
|
||||
|
||||
~VehicleDetailsWindow()
|
||||
|
Loading…
Reference in New Issue
Block a user