]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_player.qc
Apply pitch properly to both stomach kicks and stomach gurgles. For kicks, the pitch...
[voretournament/voretournament.git] / data / qcsrc / server / cl_player.qc
index 70ff9b24347965547619ca22a32fda562db2b348..e953ff7d4b41ecebbd10724d7ab70dc218112e67 100644 (file)
@@ -1355,7 +1355,7 @@ void GlobalSound(string sample, float chan, float voicetype, float vol)
                case VOICETYPE_GURGLE:\r
                        // since players can't be prey and predators at the same time, we don't use the prey modifier for the gurgle sound volume\r
                        if(self.stomach_load)\r
-                               sound7(self, chan, sample, bound(0, vol_scale * (self.stomach_load / self.stomach_maxload), 1), ATTN_NORM, pitch, 0);\r
+                               sound7(self, chan, sample, bound(0, vol_scale * (self.stomach_load / self.stomach_maxload), 1), ATTN_NORM, pitch * 100, 0);\r
                        else\r
                                stopsound(self, chan);\r
                        break;\r