Being sentenced to death is only a criminal responsibility, and compensation for losses is a civil responsibility. They are different. In criminal incidental civil action, the death penalty cannot offset civil compensation.
After the criminal responsibility is determined, the victim can pursue the defendant's civil liability for compensation through civil litigation. However, if the defendant is an adult, criminal or civil liability shall be borne by him, and his relatives shall not punish or compensate him on his behalf. So if the victim is sentenced to death, he can only use his personal property to compensate. If personal property is insufficient, relatives have no legal obligation to compensate. Most death row inmates have no money, and the victims' economic losses cannot be compensated. Therefore, criminal offences are really harmful to others and themselves. Let's be good law-abiding citizens.
I hope the above content can help you. If in doubt, please consult a professional lawyer.
Legal basis:
Article 10 1 of the Criminal Procedure Law
If the victim suffers material losses due to the defendant's criminal behavior, he has the right to file an incidental civil action in the course of criminal proceedings. If the victim dies or loses his capacity for civil conduct, his legal representative and close relatives have the right to file an incidental civil action.
If state property or collective property suffers losses, the people's procuratorate may bring an incidental civil action when it brings a public prosecution.