Cocaine, not a stun gun, killed a southern Alberta man involved in a struggle with RCMP officers, a medical examiner has concluded.