1
0
Fork 0

(svn r8425) -Fix

Do not try to invalidate a window which just got deleted. It is pointless
release/0.6
tron 2007-01-26 20:51:35 +00:00
parent 8a70d42603
commit e0df42b3a3
1 changed files with 0 additions and 1 deletions

View File

@ -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);