src/ship_cmd.cpp
changeset 7815 b821a6aafd09
parent 7782 e2999b5fcfad
child 7928 63e18de69e50
equal deleted inserted replaced
7814:92bfbfa6bca8 7815:b821a6aafd09
   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