From 8412e55463b88671eee99ae32d2a23e84ddaa755 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 16 Jun 2018 01:24:37 +1000 Subject: [PATCH] Disable the weapon pickup notification in item pickup code (the pickup mask only applies to items, so using it here is broken) --- qcsrc/common/t_items.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/t_items.qc b/qcsrc/common/t_items.qc index f4ed4f1bf..a518348a2 100644 --- a/qcsrc/common/t_items.qc +++ b/qcsrc/common/t_items.qc @@ -824,7 +824,8 @@ float Item_GiveTo(entity item, entity player) { pickedup = true; player.items |= its; - Send_Notification(NOTIF_ONE, player, MSG_INFO, INFO_ITEM_WEAPON_GOT, item.netname); + // TODO: we probably want to show a message in the console, but not this one! + //Send_Notification(NOTIF_ONE, player, MSG_INFO, INFO_ITEM_WEAPON_GOT, item.netname); } if (item.strength_finished) -- 2.39.2