Changeset - r10629:51c399805da5
[Not reviewed]
master
0 1 0
frosch - 15 years ago 2009-01-08 21:13:20
frosch@openttd.org
(svn r14924) -Fix (r7403): Do not unnecessarily reset the cursor, when a different vehicle is dragged.
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/depot_gui.cpp
Show inline comments
 
@@ -1072,7 +1072,6 @@ void DeleteDepotHighlightOfVehicle(const
 

	
 
	w = dynamic_cast<DepotWindow*>(FindWindowById(WC_VEHICLE_DEPOT, v->tile));
 
	if (w != NULL) {
 
		w->sel = INVALID_VEHICLE;
 
		ResetObjectToPlace();
 
		if (w->sel == v->index) ResetObjectToPlace();
 
	}
 
}
0 comments (0 inline, 0 general)