Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-17 11:40:15 +0000
committerStijn Buys <ingar@osirion.org>2009-08-17 11:40:15 +0000
commit5636fad174f0bcff857c357c394c4cc8d424b302 (patch)
treed41807018da962a930ef087b73ce4ac89a90c6f8 /src/client/input.cc
parent80aaacbaef16b4eba33428aec268f80e7466cbb1 (diff)
reload entity/info models on r_restart
Diffstat (limited to 'src/client/input.cc')
-rw-r--r--src/client/input.cc4
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;
}