]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_physics.qc
Merge remote-tracking branch 'origin/terencehill/menu_focus_bugfix'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_physics.qc
index 3263d627f41ddd7123690887250f2f694ffe2bd3..a7051ff14c4b18da5e95a228fae1ccd4c64c44ff 100644 (file)
@@ -110,6 +110,9 @@ void PlayerJump (void)
        self.flags &~= FL_JUMPRELEASED;
 
        animdecide_setaction(self, ANIMACTION_JUMP, TRUE);
+       
+       if(autocvar_g_jump_grunt)
+               PlayerSound(playersound_jump, CH_PLAYER, VOICETYPE_PLAYERSOUND);
 
        self.restart_jump = -1; // restart jump anim next time
        // value -1 is used to not use the teleport bit (workaround for tiny hitch when re-jumping)