From e0df42b3a301d65a44785f2043a94c78b38c7bf2 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 26 Jan 2007 20:51:35 +0000 Subject: (svn r8425) -Fix Do not try to invalidate a window which just got deleted. It is pointless --- src/roadveh_cmd.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/roadveh_cmd.cpp') diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index e8f06c5c0..215cfa0fb 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -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); -- cgit v1.2.3-54-g00ecf