]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compile
authorMario <mario@smbclan.net>
Fri, 1 Jan 2016 12:57:01 +0000 (22:57 +1000)
committerMario <mario@smbclan.net>
Fri, 1 Jan 2016 12:57:01 +0000 (22:57 +1000)
qcsrc/common/triggers/teleporters.qc

index 2d23dd636b8981aa9982643be5abc3c6611ad465..d646a631c928d4f99550e5d9347d428fc286caf9 100644 (file)
@@ -85,7 +85,7 @@ void TeleportPlayer(entity teleporter, entity player, vector to, vector to_angle
                if(self.pushltime < time) // only show one teleport effect per teleporter per 0.2 seconds, for better fps
                {
                        if(tflags & TELEPORT_FLAG_SOUND)
-                               sound (player, CH_TRIGGER, ((teleporter.noise != "") ? teleporter.noise : SND_TELEPORT), VOL_BASE, ATTEN_NORM);
+                               _sound (player, CH_TRIGGER, ((teleporter.noise != "") ? teleporter.noise : SND(TELEPORT)), VOL_BASE, ATTEN_NORM);
                        if(tflags & TELEPORT_FLAG_PARTICLES)
                        {
                                Send_Effect(EFFECT_TELEPORT, player.origin, '0 0 0', 1);