Man on beach rocks gets smashed by waves