Base stomach kick sounds on player scale difference, and tweak the system a bit
[voretournament/voretournament.git] / data / qcsrc / server / cl_player.qc
index 7a5d7b1..92c77a3 100644 (file)
@@ -1236,10 +1236,7 @@ void GlobalSound(string sample, float chan, float voicetype)
        if(self.stat_eaten && cvar("g_vore_soundocclusion")) // reduce sound volume for prey, to simulate stomach culling\r
                vol *= cvar("g_vore_soundocclusion");\r
        if(cvar("g_healthsize") && cvar("g_healthsize_soundfactor")) // amplify or reduce sound volume based on the size of the player\r
-       {\r
-               vol /= 2; // volume being greater than 1 causes stuff to brake, so it must be 0.5 at normal scale\r
                vol *= (self.scale * cvar("g_healthsize_soundfactor"));\r
-       }\r
        vol = bound(0, vol, 1);\r
 \r
        switch(voicetype)\r