diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-17 11:40:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-17 11:40:15 +0000 |
commit | 5636fad174f0bcff857c357c394c4cc8d424b302 (patch) | |
tree | d41807018da962a930ef087b73ce4ac89a90c6f8 /src/client | |
parent | 80aaacbaef16b4eba33428aec268f80e7466cbb1 (diff) |
reload entity/info models on r_restart
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; } |