The unavailable.wav sound is only located in misc/, not weapons/ (as it addresses...
[voretournament/voretournament.git] / data / qcsrc / server / cl_weaponsystem.qc
index 2b06fed..004442c 100644 (file)
@@ -996,7 +996,7 @@ float weapon_prepareattack_checkammo(float secondary)
        {\r
                if(self.weapon == self.switchweapon && time - self.prevdryfire > 1) // only play once BEFORE starting to switch weapons\r
                {\r
-                       sound (self, CHAN_AUTO, "weapons/unavailable.wav", VOL_BASE, ATTN_NORM);\r
+                       sound (self, CHAN_AUTO, "misc/unavailable.wav", VOL_BASE, ATTN_NORM);\r
                        self.prevdryfire = time;\r
                }\r
 \r
@@ -1594,7 +1594,7 @@ float W_ReloadCheck()
        {\r
                if(clienttype(self) == CLIENTTYPE_REAL && self.reload_complain < time)\r
                {\r
-                       play2(self, "weapons/unavailable.wav");\r
+                       play2(self, "misc/unavailable.wav");\r
                        sprint(self, strcat("You don't have enough ammo to reload the ^2", W_Name(self.weapon), "\n"));\r
                        self.reload_complain = time + 1;\r
                }\r