From 5636fad174f0bcff857c357c394c4cc8d424b302 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 17 Aug 2009 11:40:15 +0000 Subject: reload entity/info models on r_restart --- src/client/input.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/input.cc') 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; } -- cgit v1.2.3