(svn r14924) -Fix (r7403): Do not unnecessarily reset the cursor, when a different vehicle is dragged.

This commit is contained in:
frosch 2009-01-08 21:13:20 +00:00
parent 067b9a15d1
commit 17a9bab142

View File

@ -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();
}
}