If you switch to a gun that cannot be aimed-in with (knife, grenades...) while already aiming another gun, an assertion failure is hit at game/client/hud_crosshair.cpp:272.
A pragmatic solution would be to just silence the assert, but it might be prudent to investigate why we're hitting it in the first place and solve the root cause instead.
To Reproduce
Build a debug build
Spawn in a level
Aim in with any weapon
Switch to your knife or a grenade whilst still aimed in
Build Info
20240624_8d02776
Description
Only affects debug builds.
If you switch to a gun that cannot be aimed-in with (knife, grenades...) while already aiming another gun, an assertion failure is hit at
game/client/hud_crosshair.cpp:272
.A pragmatic solution would be to just silence the assert, but it might be prudent to investigate why we're hitting it in the first place and solve the root cause instead.
To Reproduce
Expected behavior
Nothing dramatic happens.
Actual behavior
A debug assertion is hit.
Operating System
Version/Distro
10
Machine's CPU
No response
Machine's GPU
No response
GPU's driver
No response
Build's compiler
No response
Additional context and Screenshots
No response