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

This commit is contained in:
Jonathan G Rennison 2024-09-03 18:16:15 +01:00
parent c20a7b3fbe
commit 8b503e511d

View File

@ -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;