No person shall recover damages from a railroad company for injury to himself or his property where the same is done by his consent or is caused by his own negligence, provided that if the complainant and the agents of the company are both at fault, the former may recover, but the damages shall be diminished by the jury in proportion to the amount of fault attributable to him.
OCGA § 46-8-291