The defense lawyer for a man accused of fatally shooting a man passing through town said Thursday he acted in self-defense.