Skip to content

Commit

Permalink
Revert "Revert "CL_EASYAIRCONTROL: only allowed during prewar""
Browse files Browse the repository at this point in the history
This reverts commit 2f5a812.
  • Loading branch information
dusty-qw committed Jan 31, 2024
1 parent 788d1fe commit 1d52508
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion help_variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,7 @@
"default": "0",
"desc": "When greater than 0, this modifies your input keys held\nto make air control beeline to your held direction.",
"group-id": "9",
"remarks": "Only useful at values of 0 or [45-90], recommend 62.5 if not 0.",
"remarks": "Only useful at values of 0 or [45-90], recommend 62.5 if not 0.\nOnly works during prewar.",
"type": "float"
},
"cl_fp_messages": {
Expand Down
2 changes: 1 addition & 1 deletion src/cl_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ void CL_SendCmd(void)
Cam_Track(cmd);
}

if (cl_easyaircontrol.value && !(cl.onground))
if (cl_easyaircontrol.value && !(cl.onground) && !(cl.waterlevel >= 2) && cl.standby)
CL_EasyAirControl(cmd);

CL_FinishMove(cmd);
Expand Down

0 comments on commit 1d52508

Please sign in to comment.