My first thought would be the safety, but I would also check the hammer. The safety should have a little tab on the back that prevents the hammer from moving far enough forward to hit the firing pin. It bay be worn down or broken and not working. The spot on the hammer that hits the safety tab could be peened in as well. Unlikely, but possible.