diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/input.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/input.cc b/src/client/input.cc index ee4a789..8b49604 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -116,8 +116,8 @@ void func_ui_control(std::string const &args) if (!core::localcontrol() || core::localplayer()->view()) return; - if (input_mousecontrol->value() > 0) { - (*input_mousecontrol) = 0.0f; + if (input_mousecontrol->value() > 0.0f) { + (*input_mousecontrol) = 0.0f; } else { (*input_mousecontrol) = 1.0f; } |