I'd have said that the Ka-50 has more bulletproof glass in it than the Mi-24 because of the cockpit shape, IIRC bulletproof glass is hard to make in a bended fashion, so the curved parts of the Mi-24 are plexiglass, but the cockpit design of the Ka-50 has more flat glass panes and there's also the titanium bath-tub on both the Mi-24 and Ka-50 which help protect the pilots undercarriage (

). Of course, a few good rifle sized hits on the engine and you're still going to be checking EKRANs but in regards to getting your brain matter repositioned by a Muji, I'd say that the likelihood was lower than in the Mi-24, which is probably why they ditched the bubble canopy in both the Ka-50 and Mi-28, although quite what they were thinking with the Ka-52 is anyones best guess...