mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
TBTR: Fix engine sprite type used in drag/drop cursor
This commit is contained in:
parent
c20a7b3fbe
commit
8b503e511d
@ -649,7 +649,7 @@ public:
|
|||||||
TrainDepotMoveVehicle(v, sel, gdvp.head);
|
TrainDepotMoveVehicle(v, sel, gdvp.head);
|
||||||
} else if (v != nullptr) {
|
} else if (v != nullptr) {
|
||||||
SetObjectToPlaceWnd(SPR_CURSOR_MOUSE, PAL_NONE, HT_DRAG, this);
|
SetObjectToPlaceWnd(SPR_CURSOR_MOUSE, PAL_NONE, HT_DRAG, this);
|
||||||
SetMouseCursorVehicle(v, EIT_PURCHASE);
|
SetMouseCursorVehicle(v, EIT_IN_DEPOT);
|
||||||
_cursor.vehchain = _ctrl_pressed;
|
_cursor.vehchain = _ctrl_pressed;
|
||||||
|
|
||||||
this->sel = v->index;
|
this->sel = v->index;
|
||||||
|
Loading…
Reference in New Issue
Block a user