]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/tracing.qc
Further cleanup of defs.qh
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / tracing.qc
index 9fd07eb2e4920b4e5bd79542b7ebb07bd51ec5fb..2d9972551d7832385cb2512f0b2fe9af988b03d0 100644 (file)
@@ -8,6 +8,7 @@
 #include "weaponsystem.qh"
 
 #include "../g_damage.qh"
+#include <server/sv_main.qh>
 #include "../antilag.qh"
 
 #include <common/constants.qh>
@@ -300,7 +301,7 @@ void FireRailgunBullet (entity this, .entity weaponentity, vector start, vector
 
                msg_entity = it;
                // we want this to be very loud when close but fall off quickly -> using max base volume and high attenuation
-               soundtoat(MSG_ONE, pseudoprojectile, beampos, CH_SHOTS, SND(NEXWHOOSH_RANDOM()), VOL_BASEVOICE, ATTEN_IDLE);
+               soundtoat(MSG_ONE, pseudoprojectile, beampos, CH_SHOTS, SND(NEXWHOOSH_RANDOM()), VOL_BASEVOICE, ATTEN_IDLE, 0);
        });
        if(pseudoprojectile)
                delete(pseudoprojectile);