Adjust player attack code and "damage_npc"

Removed the NPC pointer check from "damage_npc" and placed it back in
"graphics_select_single_repeating_click".