mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 13:23:46 +00:00
(svn r14924) -Fix (r7403): Do not unnecessarily reset the cursor, when a different vehicle is dragged.
This commit is contained in:
parent
067b9a15d1
commit
17a9bab142
@ -1072,7 +1072,6 @@ void DeleteDepotHighlightOfVehicle(const Vehicle *v)
|
||||
|
||||
w = dynamic_cast<DepotWindow*>(FindWindowById(WC_VEHICLE_DEPOT, v->tile));
|
||||
if (w != NULL) {
|
||||
w->sel = INVALID_VEHICLE;
|
||||
ResetObjectToPlace();
|
||||
if (w->sel == v->index) ResetObjectToPlace();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user