]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/common.qc
Item Pickup panel
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / common.qc
index 2ac69065155074da012f3d6c525b8931964c686e..a0dd86f5199e3afde64ff2cf7782ee167c28dd39 100644 (file)
@@ -35,10 +35,6 @@ void W_GiveWeapon(entity e, int wep)
        if (!wep) return;
 
        STAT(WEAPONS, e) |= WepSet_FromWeapon(REGISTRY_GET(Weapons, wep));
-
-       if (IS_PLAYER(e)) {
-           Send_Notification(NOTIF_ONE, e, MSG_MULTI, ITEM_WEAPON_GOT, wep);
-    }
 }
 
 void W_PlayStrengthSound(entity player)
@@ -138,7 +134,7 @@ bool SUB_NoImpactCheck(entity this, entity toucher)
         traceline(this.origin - tic, this.origin + tic, MOVE_NORMAL, this);
         if (trace_fraction >= 1)
         {
-               // NOTE: this notice can occur when projectiles hit non-world objects, better to not spam the console!
+            // NOTE: this notice can occur when projectiles hit non-world objects, better to not spam the console!
             //LOG_TRACE("Odd... did not hit...?");
         }
         else if (trace_dphitq3surfaceflags & Q3SURFACEFLAG_NOIMPACT)