Client: Add hack to make ammo notifications for WEAPON_HORNET only appear
when under a certain condition.
This commit is contained in:
parent
3117e979d6
commit
ad7b2a0586
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,9 @@ HUD_AmmoNotify_Insert(int type, int count)
|
||||||
if (count <= 0)
|
if (count <= 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (type == 7 && count < 8) // hornet hack!
|
||||||
|
return;
|
||||||
|
|
||||||
g_ammonotify[type].count += count;
|
g_ammonotify[type].count += count;
|
||||||
g_ammonotify[type].alpha = 2.5f;
|
g_ammonotify[type].alpha = 2.5f;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue