]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Items: actually make no sound if the waypoint isn't visible for the player
authorTimePath <andrew.hardaker1995@gmail.com>
Tue, 13 Oct 2015 23:36:45 +0000 (10:36 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Tue, 13 Oct 2015 23:37:15 +0000 (10:37 +1100)
Closes #1572

qcsrc/server/t_items.qc

index d30a54f020f8d48f4a8399ff22926243ce05da6f..a640cce105a46f39b95d18b90fd6adedc0f860e5 100644 (file)
@@ -513,8 +513,6 @@ void Item_RespawnCountdown (void)
                        WaypointSprite_Ping(self.waypointsprite_attached);
                        //WaypointSprite_UpdateHealth(self.waypointsprite_attached, self.count);
                }
-               else
-                       sound(self, CH_TRIGGER, SND_ITEMRESPAWNCOUNTDOWN, VOL_BASE, ATTEN_NORM);        // play respawn sound
        }
 }