]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable the weapon pickup notification in item pickup code (the pickup mask only...
authorMario <mario@smbclan.net>
Fri, 15 Jun 2018 15:24:37 +0000 (01:24 +1000)
committerMario <mario@smbclan.net>
Fri, 15 Jun 2018 15:24:37 +0000 (01:24 +1000)
qcsrc/common/t_items.qc

index f4ed4f1bf423e83e62be4463a76e0ab9a72aaac6..a518348a2688ee875cb7a8ccbcca726c613ee19d 100644 (file)
@@ -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)