From: Mario Date: Fri, 15 Jun 2018 15:24:37 +0000 (+1000) Subject: Disable the weapon pickup notification in item pickup code (the pickup mask only... X-Git-Tag: xonotic-v0.8.5~2047 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8412e55463b88671eee99ae32d2a23e84ddaa755;p=xonotic%2Fxonotic-data.pk3dir.git Disable the weapon pickup notification in item pickup code (the pickup mask only applies to items, so using it here is broken) --- 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)