TBTR: Fix engine sprite type used in drag/drop cursor

pull/741/head
Jonathan G Rennison 3 weeks ago
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…
Cancel
Save