changeset 5851:295e46d828ff draft

(svn r8425) -Fix Do not try to invalidate a window which just got deleted. It is pointless
author tron <tron@openttd.org>
date Fri, 26 Jan 2007 20:51:35 +0000
parents ecb8a92b7972
children ef3f75424ca4
files src/roadveh_cmd.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -501,7 +501,6 @@
 static void RoadVehDelete(Vehicle *v)
 {
 	DeleteWindowById(WC_VEHICLE_VIEW, v->index);
-	InvalidateWindow(WC_VEHICLE_DETAILS, v->index);
 
 	RebuildVehicleLists();
 	InvalidateWindow(WC_COMPANY, v->owner);