From: Mario Date: Fri, 1 Jan 2016 12:57:01 +0000 (+1000) Subject: Fix compile X-Git-Tag: xonotic-v0.8.2~1327 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c7dc062906804ce43c47c0d3483d5cab926642b8;p=xonotic%2Fxonotic-data.pk3dir.git Fix compile --- diff --git a/qcsrc/common/triggers/teleporters.qc b/qcsrc/common/triggers/teleporters.qc index 2d23dd636..d646a631c 100644 --- a/qcsrc/common/triggers/teleporters.qc +++ b/qcsrc/common/triggers/teleporters.qc @@ -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);