Client: Add hack to make ammo notifications for WEAPON_HORNET only appear

when under a certain condition.
This commit is contained in:
Marco Cawthorne 2021-12-17 21:51:59 -08:00
parent 3117e979d6
commit ad7b2a0586
Signed by: eukara
GPG key ID: C196CD8BA993248A

View file

@ -88,6 +88,9 @@ HUD_AmmoNotify_Insert(int type, int count)
if (count <= 0)
return;
if (type == 7 && count < 8) // hornet hack!
return;
g_ammonotify[type].count += count;
g_ammonotify[type].alpha = 2.5f;