diff options
author | tron <tron@openttd.org> | 2007-01-26 20:51:35 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-01-26 20:51:35 +0000 |
commit | e0df42b3a301d65a44785f2043a94c78b38c7bf2 (patch) | |
tree | 46ce446469b8b2a1a51b699b3f9d54e23c2bb32b | |
parent | 8a70d426036f40ace11a48d91009d1fee7cb30e9 (diff) | |
download | openttd-e0df42b3a301d65a44785f2043a94c78b38c7bf2.tar.xz |
(svn r8425) -Fix
Do not try to invalidate a window which just got deleted. It is pointless
-rw-r--r-- | src/roadveh_cmd.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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); |