From: Lyberta Date: Sat, 19 May 2018 20:37:03 +0000 (+0300) Subject: Sprint: Polishing. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=62db07f13f603e7e01d000cc77035b8431b5efd5;p=xonotic%2Fxonotic-data.pk3dir.git Sprint: Polishing. --- diff --git a/qcsrc/common/mutators/mutator/sprint/sv_sprint.qc b/qcsrc/common/mutators/mutator/sprint/sv_sprint.qc index 55d3bc5e1..2554dae7a 100644 --- a/qcsrc/common/mutators/mutator/sprint/sv_sprint.qc +++ b/qcsrc/common/mutators/mutator/sprint/sv_sprint.qc @@ -1,4 +1,6 @@ -//#include +/// \file +/// \brief Source file that contains implementation of Sprint mutator. +/// \copyright GNU GPLv2 or any later version. string autocvar_g_sprint = "0"; ///< Whether to enable sprint. float autocvar_g_sprint_speed_multiplier; ///< Speed multiplier of sprinting. @@ -22,7 +24,7 @@ MUTATOR_HOOKFUNCTION(sprint, BuildMutatorsPrettyString) MUTATOR_HOOKFUNCTION(sprint, BuildGameplayTipsString) { - M_ARGV(0, string) = strcat(M_ARGV(0, string), "\n\n^3Sprint^8 is enabled, press the dodge button to sprint\n"); + M_ARGV(0, string) = strcat(M_ARGV(0, string), "\n\n^3Sprint^8 is enabled, press the sprint button to sprint\n"); } MUTATOR_HOOKFUNCTION(sprint, SetStartItems) @@ -66,7 +68,6 @@ MUTATOR_HOOKFUNCTION(sprint, PlayerPhysics_UpdateStats) player.m_is_sprinting = false; return; } - } if (!IS_ONGROUND(player) && !autocvar_g_sprint_in_air) {