equal
deleted
inserted
replaced
962 if (v->IsStoppedInDepot()) { |
962 if (v->IsStoppedInDepot()) { |
963 DeleteVehicleNews(p1, STR_981C_SHIP_IS_WAITING_IN_DEPOT); |
963 DeleteVehicleNews(p1, STR_981C_SHIP_IS_WAITING_IN_DEPOT); |
964 } |
964 } |
965 |
965 |
966 v->vehstatus ^= VS_STOPPED; |
966 v->vehstatus ^= VS_STOPPED; |
|
967 v->cur_speed = 0; |
967 InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR); |
968 InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR); |
968 InvalidateWindow(WC_VEHICLE_DEPOT, v->tile); |
969 InvalidateWindow(WC_VEHICLE_DEPOT, v->tile); |
969 InvalidateWindowClasses(WC_SHIPS_LIST); |
970 InvalidateWindowClasses(WC_SHIPS_LIST); |
970 } |
971 } |
971 |
972 |