mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-06 18:08:26 +00:00
hsw shouldn't track strafes on w
This commit is contained in:
parent
ec881bbae5
commit
573e97e9dc
@ -184,7 +184,7 @@
|
||||
|
||||
"force_hsw" "1"
|
||||
|
||||
"strafe_count_w" "1"
|
||||
"strafe_count_w" "0"
|
||||
"strafe_count_a" "1"
|
||||
"strafe_count_s" "0"
|
||||
"strafe_count_d" "1"
|
||||
|
||||
@ -3321,6 +3321,7 @@ public void OnPlayerRunCmdPost(int client, int buttons, int impulse, const float
|
||||
if (GetStyleSettingBool(gA_Timers[client].bsStyle, "strafe_count_w")
|
||||
&& !GetStyleSettingBool(gA_Timers[client].bsStyle, "block_w")
|
||||
&& (gA_Timers[client].fLastInputVel[0] <= 0.0) && (vel[0] > 0.0)
|
||||
&& GetStyleSettingInt(gA_Timers[client].bsStyle, "force_hsw") != 1
|
||||
)
|
||||
{
|
||||
gA_Timers[client].iStrafes++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user