]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/turrets/unit/machinegun.qc
Add a function to control weapon sound paths with hooks
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / unit / machinegun.qc
index f952d4b158ac6d5d110f42be7891a8c146920c32..5d5d62c8326e4fbad695a0b8c0925eb6028362ce 100644 (file)
@@ -50,7 +50,7 @@ float t_machinegun(float req)
         {
             precache_model ("models/turrets/base.md3");
             precache_model ("models/turrets/machinegun.md3");
-            precache_sound ("weapons/uzi_fire.wav");
+            precache_sound (W_Sound("uzi_fire"));
             return true;
         }
     }