(svn r8425) -Fix

Do not try to invalidate a window which just got deleted. It is pointless
replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
tron 18 years ago
parent 8a70d42603
commit e0df42b3a3

@ -501,7 +501,6 @@ static void ClearCrashedStation(Vehicle *v)
static void RoadVehDelete(Vehicle *v)
{
DeleteWindowById(WC_VEHICLE_VIEW, v->index);
InvalidateWindow(WC_VEHICLE_DETAILS, v->index);
RebuildVehicleLists();
InvalidateWindow(WC_COMPANY, v->owner);

Loading…
Cancel
Save