An errant shot that left a man blind in one eye has produced a message for golfers: you are not responsible for all of your bad shots.

The errant shot came while three friends were playing at Dix Hills Golf Course on Long Island in 2002. The man who lost part of his vision, Azad Anand, was no longer able to work as a neuroradiologist. He sued Anoop Kapoor, the golfer whose shot hit him, claiming that Kapoor should have warned him by yelling fore.

But on Tuesday, the New York State Court of Appeals ruled that Kapoor was not responsible for yelling fore because Anand was not in the intended path of the ball, so Kapoor was not responsible for paying damages.

The court, which sided with several lower courts, ruled that Anand assumed the risk that he could be hit by an errant ball when he decided to play golf. And Kapoor was responsible for yelling fore only to golfers in the ball’s intended path.