equal
deleted
inserted
replaced
499 } |
499 } |
500 |
500 |
501 static void RoadVehDelete(Vehicle *v) |
501 static void RoadVehDelete(Vehicle *v) |
502 { |
502 { |
503 DeleteWindowById(WC_VEHICLE_VIEW, v->index); |
503 DeleteWindowById(WC_VEHICLE_VIEW, v->index); |
504 InvalidateWindow(WC_VEHICLE_DETAILS, v->index); |
|
505 |
504 |
506 RebuildVehicleLists(); |
505 RebuildVehicleLists(); |
507 InvalidateWindow(WC_COMPANY, v->owner); |
506 InvalidateWindow(WC_COMPANY, v->owner); |
508 |
507 |
509 if (IsTileType(v->tile, MP_STATION)) ClearCrashedStation(v); |
508 if (IsTileType(v->tile, MP_STATION)) ClearCrashedStation(v); |