From ad7b2a0586ddb5635fa9c5c299b01645f01e4d28 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Fri, 17 Dec 2021 21:51:59 -0800 Subject: [PATCH] Client: Add hack to make ammo notifications for WEAPON_HORNET only appear when under a certain condition. --- src/client/hud_ammonotify.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/hud_ammonotify.qc b/src/client/hud_ammonotify.qc index 34d5d10..7870fea 100644 --- a/src/client/hud_ammonotify.qc +++ b/src/client/hud_ammonotify.qc @@ -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;