Sniper headshots cause a crash
Logs / Crash Report
log-segfault.tar.gz (probably not useful but the normal logs dont show anything related to headshot crashes)
Description
Cathook crashes when you get a headshot (even legit without aimbot or triggerbot) with all sniper primaries except for the projectile based ones and the classic for some reason (Spy's ambassador and the classic are the only weapons that can headshot and dont crash cathook upon a headshot). However, sometimes i can get a few headshots before my next headshot crashes my game. According to my tests that i conducted over a few games, cathook crashes ~%81 of the time from a headshot that meets the crashing criteria with an average of two headshots without crashing the game before the crash happens on the next headshot.
also it only happens online and when i play with bots it doesnt crash
Steps to reproduce
- [x] I am able to consistently reproduce this error
- Pick sniper class with any primary hit scan weapon (except for the classic)
- Headshot someone (crash ~%81)
- Repeat
2if it didnt crash